Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to cross-compile with gcc again
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Mar 2007 21:54:44 +0000 (21:54 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Mar 2007 21:54:44 +0000 (21:54 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3214 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/win32/config.h

index eddc478..bf54072 100644 (file)
@@ -17,7 +17,9 @@
 
 #if defined(_XBT_BORLAND_COMPILER)
 # include <win32/compiler/borland.h>
-# else
+#elif defined(__GNUC__)
+  /* data comes from autoconf when using gnuc (cross-compiling?) */
+#else
 # error "Unknown compiler - please report the problems to the main simgrid mailing list (http://gforge.inria.fr/mail/?group_id=12)"
 #endif
 
@@ -74,4 +76,4 @@ const char *gras_wsa_err2string(int errcode);
 
        
 
-#endif /* #ifndef __XBT_WIN32_CONFIG_H__ */
\ No newline at end of file
+#endif /* #ifndef __XBT_WIN32_CONFIG_H__ */