diff loader/wine/winnt.h @ 23430:251338cf2f58

Get rid of superfluous __WINE__ #define, it was always enabled and cluttered the code. Blessed by Reimar.
author diego
date Sat, 02 Jun 2007 12:27:33 +0000
parents bdc49c9c419e
children c98c9e7f3bd0
line wrap: on
line diff
--- a/loader/wine/winnt.h	Sat Jun 02 12:26:27 2007 +0000
+++ b/loader/wine/winnt.h	Sat Jun 02 12:27:33 2007 +0000
@@ -81,7 +81,6 @@
 /* These types are _not_ defined for the emulator, because they */
 /* depend on the UNICODE macro that only exists in user's code. */
 
-//#ifndef __WINE__
 # ifdef UNICODE
 typedef WCHAR TCHAR, *PTCHAR;
 typedef LPWSTR PTSTR, LPTSTR;
@@ -93,7 +92,6 @@
 typedef LPCSTR PCTSTR, LPCTSTR;
 #define __TEXT(string) string
 # endif /* UNICODE */
-//#endif   /* __WINE__ */
 #define TEXT(quote) __TEXT(quote)
 
 typedef BYTE     BOOLEAN;
@@ -629,8 +627,6 @@
 typedef CONTEXT *PCONTEXT;
 typedef HANDLE *PHANDLE;
 
-#ifdef __WINE__
-
 /* Macros for easier access to i386 context registers */
 
 #define EAX_reg(context)     ((context)->Eax)
@@ -766,8 +762,6 @@
 # error You must define GET_IP for this CPU
 #endif
 
-#endif  /* __WINE__ */
-
 /*
  * Exception codes
  */