diff options
author | Charles Wilson <cwilso11@gmail.com> | 2009-03-20 02:01:23 -0400 |
---|---|---|
committer | Charles Wilson <cwilso11@gmail.com> | 2009-03-20 02:01:23 -0400 |
commit | 7d8aec6039f6a74b93fbddf163e8cd59886838cb (patch) | |
tree | 98a8d6ca787366a39bc00c9d764de5bf37c01cb7 /tar/bsdtar_windows.c | |
parent | 280540e0b4d69361177cf5344f3b81a0f223ba4d (diff) | |
download | libarchive-7d8aec6039f6a74b93fbddf163e8cd59886838cb.tar.gz |
Issue 15, part 9. WINVER macro
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
Diffstat (limited to 'tar/bsdtar_windows.c')
-rw-r--r-- | tar/bsdtar_windows.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tar/bsdtar_windows.c b/tar/bsdtar_windows.c index 66feed7c..c4e77b45 100644 --- a/tar/bsdtar_windows.c +++ b/tar/bsdtar_windows.c @@ -27,6 +27,7 @@ #if defined(_WIN32) && !defined(__CYGWIN__) #define _WIN32_WINNT 0x0500 +#define WINVER 0x0500 #include "bsdtar_platform.h" #include <errno.h> |