axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
Subject svn commit: r384647 - /webservices/axis/trunk/c/include/axis/Axis.h
Date Thu, 09 Mar 2006 23:49:21 GMT
Author: prestonf
Date: Thu Mar  9 15:49:21 2006
New Revision: 384647

URL: http://svn.apache.org/viewcvs?rev=384647&view=rev
Log:
Tried to use stdcall, but Linux does not support it.  Has now been changed to 'AXISCALL' which
is defined in GDefine.hpp

As follows:

/*replaced stdcall with cdecl to make it work on some platforms with older libraries - Samisa*/

#define AXISCALL __attribute__((cdecl))
#else /* unix or win32 */
#if defined(__unix)
#define AXISCALL
#else
#define AXISCALL __stdcall
#endif

Modified:
    webservices/axis/trunk/c/include/axis/Axis.h

Modified: webservices/axis/trunk/c/include/axis/Axis.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/Axis.h?rev=384647&r1=384646&r2=384647&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/Axis.h (original)
+++ webservices/axis/trunk/c/include/axis/Axis.h Thu Mar  9 15:49:21 2006
@@ -84,7 +84,7 @@
 
 // Create prototype for globalExceptionHandler.  This is to get round the
 // problems introduced by trace which cannot handle in-line prototyping.
-typedef void * __stdcall GlobalExceptionHandlerPrototype( int errorCode, const char * errorString);
+typedef void * AXISCALL GlobalExceptionHandlerPrototype( int errorCode, const char * errorString);
 
 AXISC_STORAGE_CLASS_INFO void axiscRegisterExceptionHandler( void * fp);
 



Mime
View raw message