Skip to content

Commit

Permalink
Add include guards to compat/win32.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marius Storm-Olsen authored and Junio C Hamano committed Sep 19, 2009
1 parent 0d30ad7 commit 627735f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compat/win32.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef WIN32_H
#define WIN32_H

/* common Win32 functions for MinGW and Cygwin */
#include <windows.h>

Expand Down Expand Up @@ -32,3 +35,5 @@ static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd
return ENOENT;
}
}

#endif

0 comments on commit 627735f

Please sign in to comment.