mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 09:44:35 +00:00 
			
		
		
		
	Older Visual Studio does not provide a intptr_t typedef
This commit is contained in:
		
				
					committed by
					
						
						Anonymous Maarten
					
				
			
			
				
	
			
			
			
						parent
						
							121df30a8a
						
					
				
				
					commit
					45d65f6e1f
				
			@@ -62,6 +62,13 @@ typedef signed __int32 int32_t;
 | 
				
			|||||||
typedef unsigned __int32 uint32_t;
 | 
					typedef unsigned __int32 uint32_t;
 | 
				
			||||||
typedef signed __int64 int64_t;
 | 
					typedef signed __int64 int64_t;
 | 
				
			||||||
typedef unsigned __int64 uint64_t;
 | 
					typedef unsigned __int64 uint64_t;
 | 
				
			||||||
 | 
					#ifndef _INTPTR_T_DEFINED
 | 
				
			||||||
 | 
					#ifdef _WIN64
 | 
				
			||||||
 | 
					typedef __int64 intptr_t;
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					typedef int intptr_t;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifndef _UINTPTR_T_DEFINED
 | 
					#ifndef _UINTPTR_T_DEFINED
 | 
				
			||||||
#ifdef _WIN64
 | 
					#ifdef _WIN64
 | 
				
			||||||
typedef unsigned __int64 uintptr_t;
 | 
					typedef unsigned __int64 uintptr_t;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user