axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafa...@apache.org
Subject svn commit: r1751582 - /axis/axis2/c/core/trunk/util/include/axutil_utils_defines.h
Date Wed, 06 Jul 2016 03:38:15 GMT
Author: rafaelb
Date: Wed Jul  6 03:38:14 2016
New Revision: 1751582

URL: http://svn.apache.org/viewvc?rev=1751582&view=rev
Log:
Fixed Bug: AXIS2C-1674. Simple HttpServer crashes when reading directories in Windows 2012
Server	

Modified:
    axis/axis2/c/core/trunk/util/include/axutil_utils_defines.h

Modified: axis/axis2/c/core/trunk/util/include/axutil_utils_defines.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/include/axutil_utils_defines.h?rev=1751582&r1=1751581&r2=1751582&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/include/axutil_utils_defines.h (original)
+++ axis/axis2/c/core/trunk/util/include/axutil_utils_defines.h Wed Jul  6 03:38:14 2016
@@ -212,7 +212,11 @@ extern "C"
 #define AXIS2_DECLARE_DATA
 
 #elif defined(AXIS2_DECLARE_STATIC)
+#ifdef __cplusplus
+#define AXIS2_EXTERN extern "C"
+#else
 #define AXIS2_EXTERN
+#endif
 #define AXIS2_EXTERN_NONSTD
 #define AXIS2_DECLARE_DATA
 #elif defined(AXIS2_DECLARE_EXPORT)



Mime
View raw message