stdafx.h | stdafx.h | |||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
#pragma warning (disable:4201) | #pragma warning (disable:4201) | |||
#pragma warning (disable:4514) | #pragma warning (disable:4514) | |||
#endif | #endif | |||
#define WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | |||
#include <windows.h> | #include <windows.h> | |||
#include <windowsx.h> | #include <windowsx.h> | |||
#include <mmsystem.h> | #include <mmsystem.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <malloc.h> | #include <malloc.h> | |||
#include <stdint.h> | ||||
#define srandom(_seed) srand(_seed) | #define srandom(_seed) srand(_seed) | |||
#define random() rand() | #define random() rand() | |||
#define sleep(_ms) Sleep(_ms) | #define sleep(_ms) Sleep(_ms) | |||
inline void ProcessPlugins(int n) {} | inline void ProcessPlugins(int n) {} | |||
#define strncasecmp(a,b,c) strncmp(a,b,c) | ||||
#define strcasecmp(a,b) strcmp(a,b) | ||||
#define strnicmp(a,b,c) strncasecmp(a,b,c) | ||||
#define HAVE_SINF 1 | ||||
#else | #else | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <string.h> | #include <string.h> | |||
#ifdef HAVE_MALLOC_H | #ifdef HAVE_MALLOC_H | |||
#include <malloc.h> | #include <malloc.h> | |||
#endif | #endif | |||
typedef int8_t CHAR; | typedef int8_t CHAR; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added | |||