From d0a09b5d1acee7803235922335fb0f54a26eccb5 Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Wed, 10 Jan 2007 21:18:06 +0000 Subject: 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 --- src/native/ogl/j3dsys.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/native/ogl/j3dsys.h (limited to 'src/native/ogl/j3dsys.h') diff --git a/src/native/ogl/j3dsys.h b/src/native/ogl/j3dsys.h new file mode 100644 index 0000000..ef77539 --- /dev/null +++ b/src/native/ogl/j3dsys.h @@ -0,0 +1,26 @@ +/* + * $RCSfile$ + * + * Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. + * + * Use is subject to license terms. + * + * $Revision$ + * $Date$ + * $State$ + */ + +#ifndef _j3dsys_h_ +#define _j3dsys_h_ + +// Suppress VS2005 compiler warning +#if defined(WIN32) +#define _CRT_SECURE_NO_DEPRECATE +#define _CRT_NONSTDC_NO_DEPRECATE +#endif + +#if defined(LINUX) +#define _GNU_SOURCE 1 +#endif + +#endif /* _j3dsys_h_ */ -- cgit v1.2.3