summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2006-04-07 05:36:20 +0000
committerMarcus Meissner <marcus@jet.franken.de>2006-04-07 05:36:20 +0000
commit95e4a3c932893dd4d1e2e29625282684c9627bc9 (patch)
tree2b1fc57bd5169d9732cb5e023a3d980a676cd700
parentdc9320fc05e975f235589b4b0b70651d94bba38f (diff)
downloadlibgphoto2-95e4a3c932893dd4d1e2e29625282684c9627bc9.tar.gz
Do not change to Windows mode during compilation of WINE.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8715 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-portability.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-portability.h b/libgphoto2_port/libgphoto2_port/gphoto2-port-portability.h
index 70196a928..14f9f8cff 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port-portability.h
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-portability.h
@@ -1,8 +1,8 @@
-/* Windows Portability
+/* Windows Portability, but not during WINE compilation (TWAIN mode)
------------------------------------------------------------------ */
-#ifdef WIN32
+#if defined(WIN32) && !defined(__WINESRC__)
#include <windows.h>
#include <sys/types.h>