source: OGRE/trunk/ogrenew/RenderSystems/GL/src/nvparse/nvparse_externs.h @ 657

Revision 657, 627 bytes checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1#ifndef NVPARSE_EXTERNS_H
2#define NVPARSE_EXTERNS_H
3
4extern nvparse_errors errors;
5extern int line_number;
6extern char * myin;
7
8// HACK by SJS to get this damn stuff working with Win32
9#ifdef _WIN32
10    #define GL_GLEXT_PROTOTYPES
11    #include <windows.h>
12    #include <GL/gl.h>
13    #include <GL/glext.h>
14    #include "glprocs.h"
15    #include <stdio.h>
16#else
17    #define GL_GLEXT_LEGACY
18    #define GL_GLEXT_PROTOTYPES
19        #if defined(__APPLE__) && defined(__GNUC__)
20                #include <OpenGL/gl.h>
21                #include "glext.h"
22        #else
23                #include <GL/gl.h>
24                #include <GL/glext.h>
25        #endif
26#endif
27// END HACK
28
29#endif
Note: See TracBrowser for help on using the repository browser.