port.h: Issue an error if port.h is included after the regular Wine headers.

This commit is contained in:
Francois Gouget 2007-05-22 18:12:05 +02:00 committed by Alexandre Julliard
parent 4d00f3ccc8
commit 41b099172f
1 changed files with 4 additions and 0 deletions

View File

@ -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>