Browse Source

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>
maint
Marius Storm-Olsen 15 years ago committed by Junio C Hamano
parent
commit
627735f9bf
  1. 5
      compat/win32.h

5
compat/win32.h

@ -1,3 +1,6 @@ @@ -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 @@ -32,3 +35,5 @@ static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd
return ENOENT;
}
}

#endif

Loading…
Cancel
Save