Add platform defines for Windows

This commit is contained in:
Yamagi Burmeister 2012-06-05 10:17:01 +02:00
parent ca18af254e
commit 58c3b22c8a
3 changed files with 4 additions and 2 deletions

2
TODO
View file

@ -2,7 +2,6 @@ Windows Port TODO
-----------------
- Check WITH_SYSTEMWIDE
- Add platform defines for Windows in common/ and game/
- Check if we really need all the stuff in winquake.h
- Due to a bug in MinGW the _controlfp() option defines _PC_24
and _MCW_PC are not available. While Quake II may work without
@ -25,7 +24,6 @@ Windows Port TODO
And do we need it?
- Is AppActivate() really necessary?
- Does anisotropic filtering work under Windows?
- Port RETEXTURING (especially jpeg) to Windows.
- Remove leftovers from the softrenderer.
The big plan:

View file

@ -39,6 +39,8 @@
#define BUILDSTRING "Linux"
#elif defined __FreeBSD__
#define BUILDSTRING "FreeBSD"
#elif defined _WIN32
#define BUILDSTRING "Windows"
#else
#define BUILDSTRING "Unknown"
#endif

View file

@ -88,6 +88,8 @@
#define OS "FreeBSD"
#elif defined(__linux__)
#define OS "Linux"
#elif defined(_WIN32)
#define OS "Windows"
#else
#define OS "Unknown"
#endif