Modified test for _MINGW and _TIMESPEC_DEFINED.

This commit is contained in:
Janet Anderson
2010-10-26 16:48:40 -05:00
parent 87e670f5ca
commit 143fef7508

View File

@@ -17,12 +17,12 @@
#ifndef osdTimeh
#define osdTimeh
#if defined(_MINGW) && ! defined(_TIMESPEC_DEFINED)
#if ! defined(_MINGW) || ! defined(_TIMESPEC_DEFINED)
struct timespec {
time_t tv_sec; /* seconds since some epoch */
long tv_nsec; /* nanoseconds within the second */
};
#endif /* defined(_MINGW) && ! defined(_TIMESPEC_DEFINED) */
#endif /* ! defined(_MINGW) || ! defined(_TIMESPEC_DEFINED) */
#endif /* ifndef osdTimeh */