__STDC_VERSION__ is not defined for c89 compilers
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> MR: #1522
This commit is contained in:
		
				
					committed by
					
						
						Kurt Roeckx
					
				
			
			
				
	
			
			
			
						parent
						
							3eabad02d6
						
					
				
				
					commit
					b9b154d1cf
				
			@@ -321,8 +321,10 @@ typedef unsigned __int64 uint64_t;
 | 
				
			|||||||
 * some systems (e.g. Mac OS X).
 | 
					 * some systems (e.g. Mac OS X).
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
# ifndef PRIu64
 | 
					# ifndef PRIu64
 | 
				
			||||||
#  if (__STDC_VERSION__ >= 199901L)
 | 
					#  ifdef __STDC_VERSION__
 | 
				
			||||||
#   include <inttypes.h>
 | 
					#   if (__STDC_VERSION__ >= 199901L)
 | 
				
			||||||
 | 
					#    include <inttypes.h>
 | 
				
			||||||
 | 
					#   endif
 | 
				
			||||||
#  endif
 | 
					#  endif
 | 
				
			||||||
#  ifndef PRIu64
 | 
					#  ifndef PRIu64
 | 
				
			||||||
#   define PRIu64 "lu"
 | 
					#   define PRIu64 "lu"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user