diff options
author | wm4 <wm4@mplayer2.org> | 2011-10-20 08:13:14 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-01 00:22:29 +0200 |
commit | 3dbb18d91a0d4b17f0187e3b5faa3b6f3cd1b31e (patch) | |
tree | 2e8eb2b8c18e7060f2cd05c9f67066bccebaeda0 | |
parent | 7332ae76b789fa0feda14a3f4ff880808e438d6a (diff) | |
download | mpv-3dbb18d91a0d4b17f0187e3b5faa3b6f3cd1b31e.tar.bz2 mpv-3dbb18d91a0d4b17f0187e3b5faa3b6f3cd1b31e.tar.xz |
windows support: remove _UWIN define
The _UWIN define causes the mingw headers not to declare deprecated (on
Windows) function names such as open and mkdir. But the code uses these. I
have no idea why this used to work (if it even did), but the original
reason why it was defined seems to have vanished.
-rw-r--r-- | mplayer.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -28,7 +28,6 @@ #include "talloc.h" #if defined(__MINGW32__) || defined(__CYGWIN__) -#define _UWIN 1 /*disable Non-underscored versions of non-ANSI functions as otherwise int eof would conflict with eof()*/ #include <windows.h> #endif #include <string.h> |