diff options
Diffstat (limited to 'nx-X11/extras/ogl-sample/main/gfx/lib/glu/include')
-rw-r--r-- | nx-X11/extras/ogl-sample/main/gfx/lib/glu/include/gluos.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nx-X11/extras/ogl-sample/main/gfx/lib/glu/include/gluos.h b/nx-X11/extras/ogl-sample/main/gfx/lib/glu/include/gluos.h new file mode 100644 index 000000000..924b89384 --- /dev/null +++ b/nx-X11/extras/ogl-sample/main/gfx/lib/glu/include/gluos.h @@ -0,0 +1,25 @@ +/* +** gluos.h - operating system dependencies for GLU +** +*/ +/* $XFree86$ */ + +#if defined(_WIN32) && !defined(__CYGWIN__) + +#define WIN32_LEAN_AND_MEAN +#define NOGDI +#define NOIME +#include <windows.h> + +/* Disable warnings */ +#pragma warning(disable : 4101) +#pragma warning(disable : 4244) +#pragma warning(disable : 4761) + +#else + +/* Disable Microsoft-specific keywords */ +#define GLAPIENTRY +#define WINGDIAPI + +#endif |