When compiling with the w32api headers (used by mingw and cygwin)
some symbols are not brought into scope by _WIN32_WINNT alone, but
also require WINVER. Also, in *_cygwin.c files, change 0x500 to
0x0500, for consistency with *_windows.c ones.
SVN-Revision: 816
*/
#if defined(__CYGWIN__)
-#define _WIN32_WINNT 0x500
-#define WINVER 0x500
+#define _WIN32_WINNT 0x0500
+#define WINVER 0x0500
#include "cpio_platform.h"
#include <errno.h>
#if defined(_WIN32) && !defined(__CYGWIN__)
#define _WIN32_WINNT 0x0500
+#define WINVER 0x0500
#include "cpio_platform.h"
#include <errno.h>
#if defined(_WIN32) && !defined(__CYGWIN__)
#define _WIN32_WINNT 0x0500
+#define WINVER 0x0500
#include "archive_platform.h"
#include <errno.h>
*/
#if defined(__CYGWIN__)
-#define _WIN32_WINNT 0x500
-#define WINVER 0x500
+#define _WIN32_WINNT 0x0500
+#define WINVER 0x0500
#include "bsdtar_platform.h"
#include <errno.h>
#if defined(_WIN32) && !defined(__CYGWIN__)
#define _WIN32_WINNT 0x0500
+#define WINVER 0x0500
#include "bsdtar_platform.h"
#include <errno.h>