latest SDK
This commit is contained in:
16
pfc/pp-gettickcount.h
Normal file
16
pfc/pp-gettickcount.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#if !defined(PP_GETTICKCOUNT_H_INCLUDED) && defined(_WIN32)
|
||||
#define PP_GETTICKCOUNT_H_INCLUDED
|
||||
|
||||
namespace PP {
|
||||
#if _WIN32_WINNT >= 0x600
|
||||
typedef uint64_t tickcount_t;
|
||||
inline tickcount_t getTickCount() { return ::GetTickCount64(); }
|
||||
#else
|
||||
#define PFC_TICKCOUNT_32BIT
|
||||
typedef uint32_t tickcount_t;
|
||||
inline tickcount_t getTickCount() { return ::GetTickCount(); }
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endif // #if !defined(PP_GETTICKCOUNT_H_INCLUDED) && defined(_WIN32)
|
||||
Reference in New Issue
Block a user