mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
fixed visualinfo and ptrdiff bug
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@283 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
82b540177c
commit
065a445c51
@ -132,13 +132,14 @@
|
|||||||
# define _W64
|
# define _W64
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef _PTRDIFF_T_DEFINED
|
#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
|
||||||
# ifdef _WIN64
|
# ifdef _WIN64
|
||||||
typedef __int64 ptrdiff_t;
|
typedef __int64 ptrdiff_t;
|
||||||
# else
|
# else
|
||||||
typedef _W64 int ptrdiff_t;
|
typedef _W64 int ptrdiff_t;
|
||||||
# endif
|
# endif
|
||||||
# define _PTRDIFF_T_DEFINED
|
# define _PTRDIFF_T_DEFINED
|
||||||
|
# define _PTRDIFF_T_
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GLAPI
|
#ifndef GLAPI
|
||||||
|
807
src/visualinfo.c
807
src/visualinfo.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user