aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 34120b00..a3a777d1 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -114,7 +114,7 @@ static inline void DeleteCriticalSection(CRITICAL_SECTION *cs)
static inline ALuint timeGetTime(void)
{
int ret;
-#ifdef _POSIX_TIMERS
+#if _POSIX_TIMERS > 0
struct timespec ts;
ret = clock_gettime(CLOCK_REALTIME, &ts);