diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-30 23:29:39 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-30 23:29:39 +0000 |
commit | f64d639d2b771a6fd2b67b213c531628d8ce1c83 (patch) | |
tree | 1b43b231c15e5d89ed563e851f8a996d3b56c509 /get_path.c | |
parent | 9133dff0b20ca7e0f6724476fea3f934b14d6a08 (diff) | |
download | mpv-f64d639d2b771a6fd2b67b213c531628d8ce1c83.tar.bz2 mpv-f64d639d2b771a6fd2b67b213c531628d8ce1c83.tar.xz |
Use OS preprocessor checks with '#if defined()' consistently.
Avoids undefined preprocessor directives warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28399 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.c')
-rw-r--r-- | get_path.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/get_path.c b/get_path.c index 1cb7bd8207..f5cf41354e 100644 --- a/get_path.c +++ b/get_path.c @@ -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 |