You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2008/10/11 06:49:50 UTC
svn commit: r703630 - in /webservices/axis/trunk/c/src:
engine/server/ServerAxisEngine.cpp
platforms/windows/PlatformSpecificWindows.hpp
server/simple_axis_server/SimpleAxisServer.cpp
server/simple_axis_server/SimpleAxisTransport.cpp
Author: nadiramra
Date: Fri Oct 10 21:49:47 2008
New Revision: 703630
URL: http://svn.apache.org/viewvc?rev=703630&view=rev
Log:
Ensure all files include PlatformAutoSense.hpp
Modified:
webservices/axis/trunk/c/src/engine/server/ServerAxisEngine.cpp
webservices/axis/trunk/c/src/platforms/windows/PlatformSpecificWindows.hpp
webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisServer.cpp
webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp
Modified: webservices/axis/trunk/c/src/engine/server/ServerAxisEngine.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/engine/server/ServerAxisEngine.cpp?rev=703630&r1=703629&r2=703630&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/engine/server/ServerAxisEngine.cpp (original)
+++ webservices/axis/trunk/c/src/engine/server/ServerAxisEngine.cpp Fri Oct 10 21:49:47 2008
@@ -15,6 +15,9 @@
* limitations under the License.
*/
+// !!! This include file must be first thing in file !!!
+#include "../../platforms/PlatformAutoSense.hpp"
+
#include "../../soap/SoapBody.h"
#include "../../soap/SoapMethod.h"
#include "ServerAxisEngine.h"
Modified: webservices/axis/trunk/c/src/platforms/windows/PlatformSpecificWindows.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/platforms/windows/PlatformSpecificWindows.hpp?rev=703630&r1=703629&r2=703630&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/platforms/windows/PlatformSpecificWindows.hpp (original)
+++ webservices/axis/trunk/c/src/platforms/windows/PlatformSpecificWindows.hpp Fri Oct 10 21:49:47 2008
@@ -19,11 +19,17 @@
#if !defined( _PLATFORM_SPECIFIC_WINDOWS_HPP )
#define _PLATFORM_SPECIFIC_WINDOWS_HPP
-#define _CRT_SECURE_NO_WARNINGS
+#ifndef _CRT_SECURE_NO_WARNINGS
+ #define _CRT_SECURE_NO_WARNINGS
+#endif
-#define _SCL_SECURE_NO_WARNINGS
+#ifndef _SCL_SECURE_NO_WARNINGS
+ #define _SCL_SECURE_NO_WARNINGS
+#endif
-#define _USE_32BIT_TIME_T
+#ifndef _USE_32BIT_TIME_T
+ #define _USE_32BIT_TIME_T
+#endif
// C4101: 'identifier' : unreferenced local variable (revisit this)
#pragma warning (disable : 4101)
Modified: webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisServer.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisServer.cpp?rev=703630&r1=703629&r2=703630&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisServer.cpp (original)
+++ webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisServer.cpp Fri Oct 10 21:49:47 2008
@@ -21,6 +21,8 @@
*
*/
+// !!! This include file must be first thing in file !!!
+#include "../../platforms/PlatformAutoSense.hpp"
#ifdef WIN32
#include <winsock2.h> // for socket(),...
Modified: webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp?rev=703630&r1=703629&r2=703630&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp (original)
+++ webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp Fri Oct 10 21:49:47 2008
@@ -17,6 +17,8 @@
* @author Samisa Abeysinghe (sabeysinghe@virtusa.com)
*
*/
+// !!! This include file must be first thing in file !!!
+#include "../../platforms/PlatformAutoSense.hpp"
#include "SimpleAxisTransport.h"