diff options
Diffstat (limited to 'o3d/import/cross/precompile.h')
-rw-r--r-- | o3d/import/cross/precompile.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/o3d/import/cross/precompile.h b/o3d/import/cross/precompile.h index 20671d6..c858aa4 100644 --- a/o3d/import/cross/precompile.h +++ b/o3d/import/cross/precompile.h @@ -37,17 +37,20 @@ #include <windows.h> #include <shellapi.h> #include <stdlib.h> -#include <d3dx9.h> #endif #ifdef __cplusplus +#if defined(RENDERER_D3D9) +#include <d3dx9.h> +#endif // defined(RENDERER_D3D9) + #if defined(RENDERER_GL) #include <GL/glew.h> #if defined(OS_WIN) #include <GL/wglew.h> #endif -#endif // defined(RENDERER_GL) +#endif // defined(RENDERER_GL) #include <Cg/cg.h> #include <Cg/cgGL.h> |