diff dwcompat.h @ 2226:2de088fb5dd4

Added some missing APIs from the template, and changes so it builds dwtest. Needed to make the key codes unique values so it would compile.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 26 Dec 2020 05:24:00 +0000
parents d871f636b46e
children 95ad22a4da2d
line wrap: on
line diff
--- a/dwcompat.h	Sat Dec 26 03:42:38 2020 +0000
+++ b/dwcompat.h	Sat Dec 26 05:24:00 2020 +0000
@@ -265,7 +265,7 @@
 #include <signal.h>
 #include <fcntl.h>
 
-#if !defined(__WIN32__) && !defined(WINNT)
+#if !defined(_MSC_VER)
 #ifndef __WATCOMC__
 #include <sys/time.h>
 #endif
@@ -281,7 +281,7 @@
 #endif
 #include <stdarg.h>
 #include <string.h>
-#endif /* !WIN32 */
+#endif /* !_MSC_VER */
 #include <ctype.h>
 
 #ifndef _MAX_PATH