mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 11:54:00 +02:00
- fixed windows build
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "game_constants.h"
|
||||
#include "xml_parser.h"
|
||||
#include "conversion.h"
|
||||
#include "platform_common.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
|
||||
|
@@ -60,6 +60,11 @@ typedef uint16_t port_t;
|
||||
#define TRUE 1
|
||||
#endif
|
||||
|
||||
#if (defined WIN32) && !(defined snprintf)
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user