Mercurial > mplayer.hg
diff get_path.c @ 28364:3e3bd9da4c7e
Use OS preprocessor checks with '#if defined()' consistently.
Avoids undefined preprocessor directives warnings.
| author | diego |
|---|---|
| date | Fri, 30 Jan 2009 23:29:39 +0000 |
| parents | fe1ef9daa92e |
| children | eda346733b8c |
line wrap: on
line diff
--- a/get_path.c Fri Jan 30 23:22:29 2009 +0000 +++ b/get_path.c Fri Jan 30 23:29:39 2009 +0000 @@ -18,12 +18,12 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> -#elif __MINGW32__ +#elif defined(__MINGW32__) #include <windows.h> -#elif __CYGWIN__ +#elif defined(__CYGWIN__) #include <windows.h> #include <sys/cygwin.h> -#elif __OS2__ +#elif defined(__OS2__) #define INCL_DOS #include <os2.h> #endif
