Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
format-patch: make "-p" suppress diffstat
[gitweb.git]
/
compat
/
win32.h
diff --git
a/compat/win32.h
b/compat/win32.h
index e8c178d8cdc9e2f729cade3e6ee37461c5dfe90f..8ce91048deffc17bdf8d51672ddaa0c867052ac5 100644
(file)
--- a/
compat/win32.h
+++ b/
compat/win32.h
@@
-2,7
+2,9
@@
#define WIN32_H
/* common Win32 functions for MinGW and Cygwin */
+#ifndef WIN32 /* Not defined by Cygwin */
#include <windows.h>
+#endif
static inline int file_attr_to_st_mode (DWORD attr)
{