From 8f1ea6eeb1bbe95733d57e05f1b3da8c1a715408 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 22 Jul 2010 17:40:55 +0200 Subject: [PATCH] include: Make sure wine/port.h and msvcrt headers are not used together. --- include/msvcrt/crtdefs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/msvcrt/crtdefs.h b/include/msvcrt/crtdefs.h index 1f51937ca90..0e43dd5f9c2 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