Simgear: LARGE_INTEGER is defined in Windows.h
Fixes build issues on Linux.
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user