Updated mingw directions, and made build process easier
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@536 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
#define alloca _alloca
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/* PATH_MAX is per POSIX defined in <limits.h> */
|
||||
# include <limits.h>
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
# include <io.h>
|
||||
# define access _access
|
||||
# define F_OK 0
|
||||
|
||||
@@ -38,7 +38,7 @@ SDL_Surface* TFB_GL_DisplayFormatAlpha (SDL_Surface *surface);
|
||||
|
||||
#ifndef APIENTRY
|
||||
#define GLUT_APIENTRY_DEFINED
|
||||
#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
|
||||
#if __MINGW32__ || (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
|
||||
#define APIENTRY __stdcall
|
||||
#else
|
||||
#define APIENTRY
|
||||
|
||||
Reference in New Issue
Block a user