PATCH - twain.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux