apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r551958 - /apr/apr/trunk/misc/win32/rand.c
Date Fri, 29 Jun 2007 16:59:30 GMT
Author: davi
Date: Fri Jun 29 09:59:29 2007
New Revision: 551958

URL: http://svn.apache.org/viewvc?view=rev&rev=551958
Log:
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


Modified:
    apr/apr/trunk/misc/win32/rand.c

Modified: apr/apr/trunk/misc/win32/rand.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/misc/win32/rand.c?view=diff&rev=551958&r1=551957&r2=551958
==============================================================================
--- apr/apr/trunk/misc/win32/rand.c (original)
+++ apr/apr/trunk/misc/win32/rand.c Fri Jun 29 09:59:29 2007
@@ -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"



Mime
View raw message