comparison src/s/windowsnt.h @ 5927:b58b74274fa2 cygwin

changes from long ago, never committed...
author Henry Thompson <ht@markup.co.uk>
date Wed, 15 Dec 2021 19:02:33 +0000
parents 308d34e9f07d
children
comparison
equal deleted inserted replaced
5926:da02ba75e50a 5927:b58b74274fa2
61 61
62 #define HAVE_LONG_FILE_NAMES 62 #define HAVE_LONG_FILE_NAMES
63 63
64 #define HAVE_TIMEVAL 64 #define HAVE_TIMEVAL
65 #define HAVE_TZNAME 65 #define HAVE_TZNAME
66 /* need this, where should it go? HST */
67 #define tzname _tzname
66 #define HAVE_H_ERRNO 68 #define HAVE_H_ERRNO
67 69
68 #define HAVE_CLOSEDIR 70 #define HAVE_CLOSEDIR
69 #define HAVE_DUP2 71 #define HAVE_DUP2
70 #define HAVE_EXECVPE 72 #define HAVE_EXECVPE
174 Lisp primitives have to be declared with Lisp_Object return type or 176 Lisp primitives have to be declared with Lisp_Object return type or
175 lots of things get very messed up */ 177 lots of things get very messed up */
176 #pragma warning ( disable : 4646 ) 178 #pragma warning ( disable : 4646 )
177 #endif 179 #endif
178 180
179 /* MSVC version >= 2.x without /Za supports __inline */ 181 /* MSVC version >= 2.x without /Za supports __inline
182 HST cut this -- VS2015 complains
180 #if (_MSC_VER < 900) || defined (__STDC__) 183 #if (_MSC_VER < 900) || defined (__STDC__)
181 # define inline 184 # define inline
182 #else 185 #else
183 # define inline __inline 186 # define inline __inline
184 #endif 187 #endif
188 */