diff options
| author | xolatile | 2025-08-04 22:53:42 +0200 |
|---|---|---|
| committer | xolatile | 2025-08-04 22:53:42 +0200 |
| commit | d309df4ce4d8ad0ed995a8e1c4267412a7782021 (patch) | |
| tree | 999ca8d785ecc1681e5eb7538ce2e6a18d244fa5 /src/shared/cube.h | |
| parent | 29d613d9cb65a0faa7e3f80e75bea0b6d910cb9a (diff) | |
| download | xolatile-badassbug-d309df4ce4d8ad0ed995a8e1c4267412a7782021.tar.xz xolatile-badassbug-d309df4ce4d8ad0ed995a8e1c4267412a7782021.tar.zst | |
Bunch of small changes...
Diffstat (limited to 'src/shared/cube.h')
| -rw-r--r-- | src/shared/cube.h | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/src/shared/cube.h b/src/shared/cube.h index ffb1d1b..d804511 100644 --- a/src/shared/cube.h +++ b/src/shared/cube.h @@ -3,9 +3,6 @@ #define _FILE_OFFSET_BITS 64 -#ifdef WIN32 -#define _USE_MATH_DEFINES -#endif #include <math.h> #include <string.h> @@ -17,34 +14,9 @@ #include <assert.h> #include <time.h> -#ifdef WIN32 - #define WIN32_LEAN_AND_MEAN - #ifdef _WIN32_WINNT - #undef _WIN32_WINNT - #endif - #define _WIN32_WINNT 0x0500 - #include "windows.h" - #ifndef _WINDOWS - #define _WINDOWS - #endif - #ifndef __GNUC__ - #include <eh.h> - #include <dbghelp.h> - #include <intrin.h> - #endif - #define ZLIB_DLL -#endif - #ifndef STANDALONE - #ifdef __APPLE__ - #include "SDL.h" - #define GL_GLEXT_LEGACY - #define __glext_h_ - #include <OpenGL/gl.h> - #else - #include <SDL.h> - #include <SDL_opengl.h> - #endif + #include <SDL.h> + #include <SDL_opengl.h> #endif #include <enet/enet.h> |
