Commit 42a19ee8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Mingw64 defines _I64_MAX in limits.h

parent 2203521d
...@@ -48,7 +48,9 @@ ...@@ -48,7 +48,9 @@
# define AM_NOVTABLE # define AM_NOVTABLE
# define _OBJBASE_H_ # define _OBJBASE_H_
# undef _X86_ # undef _X86_
# define _I64_MAX LONG_LONG_MAX # ifndef _I64_MAX
# define _I64_MAX LONG_LONG_MAX
# endif
# define LONGLONG long long # define LONGLONG long long
#endif #endif
......
...@@ -41,7 +41,9 @@ using namespace std; ...@@ -41,7 +41,9 @@ using namespace std;
# define AM_NOVTABLE # define AM_NOVTABLE
# define _OBJBASE_H_ # define _OBJBASE_H_
# undef _X86_ # undef _X86_
# define _I64_MAX LONG_LONG_MAX # ifndef _I64_MAX
# define _I64_MAX LONG_LONG_MAX
# endif
# define LONGLONG long long # define LONGLONG long long
#endif #endif
......
...@@ -41,7 +41,9 @@ using namespace std; ...@@ -41,7 +41,9 @@ using namespace std;
# define AM_NOVTABLE # define AM_NOVTABLE
# define _OBJBASE_H_ # define _OBJBASE_H_
# undef _X86_ # undef _X86_
# define _I64_MAX LONG_LONG_MAX # ifndef _I64_MAX
# define _I64_MAX LONG_LONG_MAX
# endif
# define LONGLONG long long # define LONGLONG long long
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment