]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compiler.h
- changed getAttribute to avoid MSVC compiler warning
[simgear.git] / simgear / compiler.h
index 1cd14c368b36121c2cf6f86e3a1615ad93f27a75..4599f6c0b791ba2f56a204073eab145dc32c1052 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
+// typedef void PFNGLPOINTPARAMETERFEXTPROC
+
+#define glPointParameterfEXT   glPointParameterfSGIS
+#define glPointParameterfvEXT  glPointParameterfvSGIS
+
+#pragma set woff 1001,1012,1014,1116,1155,1172,1174
+#pragma set woff 1401,1460,1551,1552,1681
+
+#ifdef __cplusplus
+#pragma set woff 1682,3303
+#endif
+
 #endif // Native SGI compilers