PATCH - twain.h

Steven Edwards steven_ed4153 at yahoo.com
Fri Jun 14 05:45:42 CDT 2002


I dont know if this is proper or not but mingw already
defines WIN32 _WIN32 and __declspec(spec)

Changelog: Fix Warnings

cvs diff -u twain.h 
Index: twain.h
===================================================================
RCS file: /home/wine/wine/dlls/twain/twain.h,v
retrieving revision 1.3
diff -u -r1.3 twain.h
--- twain.h	31 May 2002 23:40:53 -0000	1.3
+++ twain.h	14 Jun 2002 10:42:57 -0000
@@ -56,9 +56,11 @@
 
 #define FAR
 #define huge
+#ifndef __MINGW__
 #define WIN32
 #define _WIN32
 #define __declspec(spec)
+#endif
 

/****************************************************************************
  * TWAIN Version                                     
                      

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the wine-patches mailing list