summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-20 08:13:14 +0200
committerUoti Urpala <uau@mplayer2.org>2012-03-01 00:22:29 +0200
commit3dbb18d91a0d4b17f0187e3b5faa3b6f3cd1b31e (patch)
tree2e8eb2b8c18e7060f2cd05c9f67066bccebaeda0 /mplayer.c
parent7332ae76b789fa0feda14a3f4ff880808e438d6a (diff)
downloadmpv-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.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 3fef3b1f12..cdcd1d645e 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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>