Fixed compilation with __USE_W32API.
authorFilip Navara <filip.navara@gmail.com>
Thu, 18 Dec 2003 14:07:41 +0000 (14:07 +0000)
committerFilip Navara <filip.navara@gmail.com>
Thu, 18 Dec 2003 14:07:41 +0000 (14:07 +0000)
svn path=/trunk/; revision=7118

reactos/include/WinError.h

index f9629d9..6fc1628 100644 (file)
 #ifndef WINERROR_H
 #define WINERROR_H
 
+#ifdef __USE_W32API
+
+#include_next <winerror.h>
+
+#else
+
 #include <errors.h> /* Current locations of reactos errors */
 
 /* Used generally */
@@ -30,4 +36,6 @@
  * of digits, and so collides with the network numbers. */
 #define DNS_ERROR_NUMERIC_NAME 9561
 
+#endif /* __USE_W32API */
+
 #endif//WINERROR_H