mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Don’t unconditionally #include <stdint.h> (as earlier MSVC don’t have it)
This commit is contained in:
		@@ -10,15 +10,20 @@
 | 
			
		||||
 | 
			
		||||
#include "catch_platform.h"
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
 | 
			
		||||
namespace Catch {
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
    typedef unsigned long long UInt64;
 | 
			
		||||
}
 | 
			
		||||
#else
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
namespace Catch {
 | 
			
		||||
    typedef uint64_t UInt64;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
namespace Catch {
 | 
			
		||||
    class Timer {
 | 
			
		||||
    public:
 | 
			
		||||
        Timer() : m_ticks( 0 ) {}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user