Petr Machata f6b94d
diff -urp boost_1_48_0~/boost/config/compiler/gcc.hpp boost_1_48_0/boost/config/compiler/gcc.hpp
Petr Machata f6b94d
--- boost_1_48_0~/boost/config/compiler/gcc.hpp	2012-01-16 16:15:14.643239525 +0100
Petr Machata f6b94d
+++ boost_1_48_0/boost/config/compiler/gcc.hpp	2012-01-16 16:21:24.072247987 +0100
Petr Machata f6b94d
@@ -120,13 +120,13 @@
Petr Machata f6b94d
      // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
Petr Machata f6b94d
      // so does not define _WIN32 or its variants.
Petr Machata f6b94d
 #    define BOOST_HAS_DECLSPEC
Petr Machata f6b94d
-#    define BOOST_SYMBOL_EXPORT __attribute__((dllexport))
Petr Machata f6b94d
-#    define BOOST_SYMBOL_IMPORT __attribute__((dllimport))
Petr Machata f6b94d
+#    define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__))
Petr Machata f6b94d
+#    define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
Petr Machata f6b94d
 #  else
Petr Machata f6b94d
-#    define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
Petr Machata f6b94d
+#    define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
Petr Machata f6b94d
 #    define BOOST_SYMBOL_IMPORT
Petr Machata f6b94d
 #  endif
Petr Machata f6b94d
-#  define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
Petr Machata f6b94d
+#  define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
Petr Machata f6b94d
 #else
Petr Machata f6b94d
 // config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined  
Petr Machata f6b94d
 #  define BOOST_SYMBOL_EXPORT
Petr Machata f6b94d
diff -urp boost_1_48_0~/boost/gil/gil_config.hpp boost_1_48_0/boost/gil/gil_config.hpp
Petr Machata f6b94d
--- boost_1_48_0~/boost/gil/gil_config.hpp	2012-01-16 16:15:29.883239865 +0100
Petr Machata f6b94d
+++ boost_1_48_0/boost/gil/gil_config.hpp	2012-01-16 16:17:49.096243036 +0100
Petr Machata f6b94d
@@ -32,7 +32,7 @@
Petr Machata f6b94d
 #if   defined(_MSC_VER)
Petr Machata f6b94d
 #    define GIL_FORCEINLINE __forceinline
Petr Machata f6b94d
 #elif defined(__GNUC__) && __GNUC__ > 3
Petr Machata f6b94d
-#    define GIL_FORCEINLINE inline __attribute__ ((always_inline))
Petr Machata f6b94d
+#    define GIL_FORCEINLINE inline __attribute__ ((__always_inline__))
Petr Machata f6b94d
 #else
Petr Machata f6b94d
 #    define GIL_FORCEINLINE inline
Petr Machata f6b94d
 #endif