Module: wine Branch: master Commit: 41b099172fc992fa0c39693c88b63b9d9e7be9b4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=41b099172fc992fa0c39693c88...
Author: Francois Gouget fgouget@free.fr Date: Tue May 22 18:12:05 2007 +0200
port.h: Issue an error if port.h is included after the regular Wine headers.
---
include/wine/port.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/wine/port.h b/include/wine/port.h index 8861408..6ab0627 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -25,6 +25,10 @@ # error You must include config.h to use this header #endif
+#ifdef __WINE_BASETSD_H +# error You must include port.h before all other headers +#endif + #define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE /* for pread/pwrite */ #include <fcntl.h>