projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d30ad7
)
Add include guards to compat/win32.h
author
Marius Storm-Olsen
<mstormo@gmail.com>
Wed, 16 Sep 2009 08:20:18 +0000
(10:20 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 19 Sep 2009 03:00:42 +0000
(20:00 -0700)
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/win32.h
patch
|
blob
|
history
diff --git
a/compat/win32.h
b/compat/win32.h
index c26384e595b4f23d5fef938b1136cc3a85469e56..e8c178d8cdc9e2f729cade3e6ee37461c5dfe90f 100644
(file)
--- a/
compat/win32.h
+++ b/
compat/win32.h
@@
-1,3
+1,6
@@
+#ifndef WIN32_H
+#define WIN32_H
+
/* common Win32 functions for MinGW and Cygwin */
#include <windows.h>
@@
-32,3
+35,5
@@
static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd
return ENOENT;
}
}
+
+#endif