Add include guards to compat/win32.h

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>
This commit is contained in:
Marius Storm-Olsen 2009-09-16 10:20:18 +02:00 committed by Junio C Hamano
parent 0d30ad71fa
commit 627735f9bf

View File

@ -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