From: Erik Faye-Lund Date: Wed, 16 Sep 2009 09:42:10 GMT Subject: Re: [msysGit] [PATCH 02/15] Add define guards to compat/win32.h Message-ID: <40aa078e0909160242s4110ca8fj1e44e1e228676704@mail.gmail.com> In-Reply-To: <26c067500d8adf17a2d75e2956e4d4a6cef27fc1.1253088099.git.mstormo@gmail.com> On Wed, Sep 16, 2009 at 10:20 AM, Marius Storm-Olsen wrote: > --- 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 > > @@ -32,3 +35,5 @@ static inline int get_file_attr(const char *fname, WIN32_FILE_ATTRIBUTE_DATA *fd >                return ENOENT; >        } >  } > + > +#endif Aren't these usually called "include guards" instead of "define guards"? -- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656