aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/CgWrapper.c
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2007-01-10 21:18:06 +0000
committerChien Yang <[email protected]>2007-01-10 21:18:06 +0000
commitd0a09b5d1acee7803235922335fb0f54a26eccb5 (patch)
treec514e69ec9154452aad8ec5d9547160454a48122 /src/native/ogl/CgWrapper.c
parent9f29bb02627691061dd5eccacfcbc4895cef7b61 (diff)
1) VC7 and VC8 compile ready for ogl and d3d.
2) Cleanup d3d build.xml script to closely resemble ogl build.xml. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@768 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/CgWrapper.c')
-rw-r--r--src/native/ogl/CgWrapper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/native/ogl/CgWrapper.c b/src/native/ogl/CgWrapper.c
index 235bd64..8509265 100644
--- a/src/native/ogl/CgWrapper.c
+++ b/src/native/ogl/CgWrapper.c
@@ -16,9 +16,8 @@
* available. This means we don't need to use "#ifdef COMPILE_CG".
*/
-#if defined(LINUX)
-#define _GNU_SOURCE 1
-#endif
+/* j3dsys.h needs to be included before any other include files to suppres VC warning */
+#include "j3dsys.h"
#include <stdio.h>
#include <stdlib.h>