Commit 41b09917 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 4d00f3cc
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment