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.
This commit is contained in:
wm4 authored and Uoti Urpala committed 2012-03-01 00:22:29 +02:00
1 parent 7332ae76b7
commit 3dbb18d91a
1 file changed
-1
-1
View File
@@ -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>