Simgear: LARGE_INTEGER is defined in Windows.h

Fixes build issues on Linux.
This commit is contained in:
Scott Giese
2019-01-20 20:35:08 -06:00
parent 07036ac48f
commit 105d63a697
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ public:
/** @return true of eof conditions exists */ /** @return true of eof conditions exists */
virtual bool eof() const { return eof_flag; }; virtual bool eof() const { return eof_flag; };
std::string SGFile::computeHash(); std::string computeHash();
}; };
+3
View File
@@ -71,9 +71,12 @@ static clockid_t getClockId()
} }
#endif #endif
#ifdef _WIN32
static bool qpc_init = false; static bool qpc_init = false;
static LARGE_INTEGER s_frequency; static LARGE_INTEGER s_frequency;
static BOOL s_use_qpc; static BOOL s_use_qpc;
#endif
void SGTimeStamp::stamp() void SGTimeStamp::stamp()
{ {