]> git.saurik.com Git - wxWidgets.git/blobdiff - build/aclocal/visibility.m4
Include <fcntl.h> from a header using fcntl().
[wxWidgets.git] / build / aclocal / visibility.m4
index 52c97f9c8ef605d1f7481ceaf66e1227ecb29932..05f9b80dece0957dcc582245299ab444e2880c2d 100644 (file)
@@ -49,6 +49,11 @@ AC_DEFUN([WX_VISIBILITY],
          error this platform has no visibility;
          #endif
 
+         /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
+         #if defined(__clang__)
+         clang compiler is still broken w.r.t. visibility;
+         #endif
+
          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
          extern __attribute__((__visibility__("default"))) int exportedvar;
          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);