Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: Allow overriding of TEST_DIRECTORY
[gitweb.git]
/
compat
/
mingw.h
diff --git
a/compat/mingw.h
b/compat/mingw.h
index f465566b7a5b8c852cad9b41e853aa97ba673b61..3b2477be5f658be665f19a12b48cc47fa07d1c6b 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-89,7
+89,7
@@
static inline int getuid()
{ return 1; }
static inline struct passwd *getpwnam(const char *name)
{ return NULL; }
-static inline int fcntl(int fd, int cmd,
long arg
)
+static inline int fcntl(int fd, int cmd,
...
)
{
if (cmd == F_GETFD || cmd == F_SETFD)
return 0;