mirror of
				https://github.com/nigels-com/glew.git
				synced 2025-11-03 22:04:10 +00:00 
			
		
		
		
	fix borland compilation problem
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@375 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
		
							parent
							
								
									41affc7565
								
							
						
					
					
						commit
						1a007610db
					
				@ -30,7 +30,7 @@
 | 
			
		||||
#define GLEW_APIENTRY_DEFINED
 | 
			
		||||
#  if defined(__CYGWIN__) || defined(__MINGW32__)
 | 
			
		||||
#    define APIENTRY __stdcall
 | 
			
		||||
#  elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
 | 
			
		||||
#  elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__)
 | 
			
		||||
#    define APIENTRY __stdcall
 | 
			
		||||
#  else
 | 
			
		||||
#    define APIENTRY
 | 
			
		||||
@ -58,7 +58,7 @@
 | 
			
		||||
#define WINGDIAPI __declspec(dllimport)
 | 
			
		||||
#endif
 | 
			
		||||
/* <ctype.h> */
 | 
			
		||||
#if defined(_MSC_VER) && !defined(_WCHAR_T_DEFINED)
 | 
			
		||||
#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED)
 | 
			
		||||
typedef unsigned short wchar_t;
 | 
			
		||||
#  define _WCHAR_T_DEFINED
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user