You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pr...@apache.org on 2006/03/10 00:49:21 UTC

svn commit: r384647 - /webservices/axis/trunk/c/include/axis/Axis.h

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);