windows compile fixes
This commit is contained in:
parent
b5846167bb
commit
b4f3c0e54b
|
@ -70,12 +70,18 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "common_tools.h"
|
||||||
|
|
||||||
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
#include <windows.h> // fix APIENTRY macro redefinition
|
||||||
|
# define int64_t __int64
|
||||||
|
# define uint64_t unsigned __int64
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef APIENTRY
|
#ifndef APIENTRY
|
||||||
#define APIENTRY
|
#define APIENTRY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "common_tools.h"
|
|
||||||
|
|
||||||
#ifdef _MACOSX
|
#ifdef _MACOSX
|
||||||
typedef unsigned long GLenum;
|
typedef unsigned long GLenum;
|
||||||
typedef unsigned char GLboolean;
|
typedef unsigned char GLboolean;
|
||||||
|
|
Loading…
Reference in New Issue