diff options
author | Davi Arnaut <davi@apache.org> | 2007-06-29 16:59:29 +0000 |
---|---|---|
committer | Davi Arnaut <davi@apache.org> | 2007-06-29 16:59:29 +0000 |
commit | 091f96ba6dc248a4fc72a984782d47ad150547f7 (patch) | |
tree | 949b14bb3552d67bb0df577c80308d95525851ce /misc | |
parent | 8d582c39049c152533a5cb46a8c89aa7f9259bef (diff) | |
download | apr-091f96ba6dc248a4fc72a984782d47ad150547f7.tar.gz |
Something in apr_private.h when preprocessed with the MinGW Windows headers
effectively redefines WINADVAPI from __stdcall to empty which results in a
link failure when wincrypt.h is placed after an include to apr_private.h.
Submitted by: Curt Arnold
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@551958 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/win32/rand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/win32/rand.c b/misc/win32/rand.c index 8af1bdad5..7161bfbbd 100644 --- a/misc/win32/rand.c +++ b/misc/win32/rand.c @@ -14,9 +14,8 @@ * limitations under the License. */ -#include <windows.h> -#include <wincrypt.h> #include "apr.h" +#include <wincrypt.h> #include "apr_private.h" #include "apr_general.h" #include "apr_portable.h" |