From: Anatol Belski Date: Thu, 6 Nov 2014 13:03:42 +0000 (+0100) Subject: fix preprocessor conditions X-Git-Tag: PRE_PHP7_REMOVALS~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2ad1fb3c9ba90217cfc00dc57a2b5a99c21fdff;p=php fix preprocessor conditions --- diff --git a/win32/time.h b/win32/time.h index c6679b6d9a..8f39c0481c 100644 --- a/win32/time.h +++ b/win32/time.h @@ -28,15 +28,13 @@ struct itimerval { struct timeval it_value; /* current value */ }; -#ifndef timespec -#if _MSC_VER < 1900 +#if !defined(timespec) && _MSC_VER < 1900 struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ }; #endif -#endif #define ITIMER_REAL 0 /*generates sigalrm */ #define ITIMER_VIRTUAL 1 /*generates sigvtalrm */