[MOAB-dev] r4442 - MOAB/trunk/src/moab

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Jan 14 14:05:58 CST 2011


Author: kraftche
Date: 2011-01-14 14:05:57 -0600 (Fri, 14 Jan 2011)
New Revision: 4442

Modified:
   MOAB/trunk/src/moab/Compiler.hpp
Log:
fix build with g++ 3.3

Modified: MOAB/trunk/src/moab/Compiler.hpp
===================================================================
--- MOAB/trunk/src/moab/Compiler.hpp	2011-01-14 18:56:34 UTC (rev 4441)
+++ MOAB/trunk/src/moab/Compiler.hpp	2011-01-14 20:05:57 UTC (rev 4442)
@@ -88,7 +88,7 @@
     #define MB_DLL_EXPORT
   #endif
   #define MB_DLL_HIDDEN
-#elif defined __GNUC__
+#elif defined __GNUC__ && __GNUC__ > 3
   #define MB_DLL_EXPORT __attribute__((visibility("default")))
   #define MB_DLL_HIDDEN __attribute__((visibility("hidden")))
 #else








































More information about the moab-dev mailing list