]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compiler.h
Various changes for MingWin32 support.
[simgear.git] / simgear / compiler.h
index 1cd14c368b36121c2cf6f86e3a1615ad93f27a75..bb7e830357782455c2c213c45c670655ba9b7eda 100644 (file)
 #  endif
 #endif
 
+#if defined( __MINGW32__ )
+#  define bcopy(from, to, n) memcpy(to, from, n)
+#  define FG_MEM_COPY(to,from,n) memcpy(to, from, n)
+#endif
+
 /* KAI C++ */
 #if defined(__KCC)
 
 #  define STL_STRING     <string>
 #  define STL_STRSTREAM  <strstream.h>
 
+#  define __STL_FUNCTION_TMPL_PARTIAL_ORDER
+
+#pragma set woff 1001,1012,1014,1116,1172,1174,1401,146,0
+#pragma set woff 1551,1552,1681
+
 #endif // Native SGI compilers