port.h: Issue an error if port.h is included after the regular Wine headers.
This commit is contained in:
parent
4d00f3ccc8
commit
41b099172f
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue