Alexandre Julliard : include: Make sure wine/port. h and msvcrt headers are not used together.

Alexandre Julliard julliard at winehq.org
Thu Jul 22 12:09:37 CDT 2010


Module: wine
Branch: master
Commit: 8f1ea6eeb1bbe95733d57e05f1b3da8c1a715408
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8f1ea6eeb1bbe95733d57e05f1b3da8c1a715408

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jul 22 17:40:55 2010 +0200

include: Make sure wine/port.h and msvcrt headers are not used together.

---

 include/msvcrt/crtdefs.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/msvcrt/crtdefs.h b/include/msvcrt/crtdefs.h
index 1f51937..0e43dd5 100644
--- a/include/msvcrt/crtdefs.h
+++ b/include/msvcrt/crtdefs.h
@@ -22,6 +22,10 @@
 #define __WINE_USE_MSVCRT
 #endif
 
+#ifdef __WINE_WINE_PORT_H
+# error You cannot use both wine/port.h and msvcrt headers
+#endif
+
 #if defined(__x86_64__) && !defined(_WIN64)
 #define _WIN64
 #endif




More information about the wine-cvs mailing list