Changeset: d20e413d3282 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/d20e413d3282 Modified Files: common/utils/mutils.h Branch: default Log Message:
F_LOCK and friends is defined in unistd.h and/or fcntl.h. diffs (23 lines): diff --git a/common/utils/mutils.h b/common/utils/mutils.h --- a/common/utils/mutils.h +++ b/common/utils/mutils.h @@ -35,15 +35,15 @@ #define MONETDB_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) #define MONETDB_DIRMODE (MONETDB_MODE | S_IXUSR | S_IXGRP | S_IXOTH) +#ifdef NATIVE_WIN32 + +#include <stdio.h> + #define F_TEST 3 /* test a region for other processes locks. */ #define F_TLOCK 2 /* test and lock a region for exclusive use */ #define F_ULOCK 0 /* unlock a previously locked region */ #define F_LOCK 1 /* lock a region for exclusive use */ -#ifdef NATIVE_WIN32 - -#include <stdio.h> - struct DIR; typedef struct DIR DIR; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org