long int has at least 32 bits (as specified by ISO C)
This commit is contained in:
		
							parent
							
								
									9919dee174
								
							
						
					
					
						commit
						3a1bf08a78
					
				|  | @ -29,11 +29,9 @@ extern "C" { | |||
| # if INT_MAX > 2147483640L      /* borrowed from luaconf.h */ | ||||
| typedef int int32_t; | ||||
| typedef unsigned int uint32_t; | ||||
| # elif LONG_MAX > 2147483640L | ||||
| # else | ||||
| typedef long int32_t; | ||||
| typedef unsigned long uint32_t; | ||||
| # else | ||||
| #  error you must define int32_t and uint32_t | ||||
| # endif | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Yuichi Nishiwaki
						Yuichi Nishiwaki