Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trace2:data: pack-objects: add trace2 regions
[gitweb.git]
/
compat
/
mingw.h
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 30d9fb3e36274657e5d2a63ef2f5eb3e1c55ce61..4d73f8aa9d0d0937b1fcbe8d854485327fc3896c 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-147,8
+147,7
@@
static inline int fcntl(int fd, int cmd, ...)
errno = EINVAL;
return -1;
}
-/* bash cannot reliably detect negative return codes as failure */
-#define exit(code) exit((code) & 0xff)
+
#define sigemptyset(x) (void)0
static inline int sigaddset(sigset_t *set, int signum)
{ return 0; }