You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/04/15 10:06:57 UTC

svn commit: r765081 - in /commons/sandbox/runtime/trunk/src/main/native: include/arch/windows/acr_arch.h shared/error.c

Author: mturk
Date: Wed Apr 15 08:06:56 2009
New Revision: 765081

URL: http://svn.apache.org/viewvc?rev=765081&view=rev
Log:
Add missing WSA error defines for platform SDK that doesn't define them

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
    commons/sandbox/runtime/trunk/src/main/native/shared/error.c

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h?rev=765081&r1=765080&r2=765081&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h Wed Apr 15 08:06:56 2009
@@ -179,6 +179,9 @@
 extern "C" {
 #endif
 
+#ifndef WSA_NOT_ENOUGHT_MEMORY
+#define WSA_NOT_ENOUGHT_MEMORY      8
+#endif
 #define ACR_INLINE                __inline
 #define LOG_MSG_DOMAIN            "ApacheCommonsRuntime"
 

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/error.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/error.c?rev=765081&r1=765080&r2=765081&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/error.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/error.c Wed Apr 15 08:06:56 2009
@@ -16,6 +16,7 @@
 
 #include "acr.h"
 #include "acr_private.h"
+#include "acr_arch.h"
 #include "acr_error.h"
 #include "acr_string.h"
 #include "acr_vm.h"