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 sa...@apache.org on 2004/06/09 13:18:07 UTC
cvs commit: ws-axis/c/include/axis/server GDefine.h
samisa 2004/06/09 04:18:07
Modified: c/include/axis/server GDefine.h
Log:
Rplaces stdcall with cdecl in ACISCALL
Revision Changes Path
1.13 +7 -1 ws-axis/c/include/axis/server/GDefine.h
Index: GDefine.h
===================================================================
RCS file: /home/cvs/ws-axis/c/include/axis/server/GDefine.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- GDefine.h 12 May 2004 07:36:46 -0000 1.12
+++ GDefine.h 9 Jun 2004 11:18:07 -0000 1.13
@@ -76,7 +76,9 @@
#endif
#if defined(__GNUC__)
-#define AXISCALL __attribute__((stdcall))
+//replaced stdcall with cdecl to make it work on some platforms with older libraries - Samisa
+//#define AXISCALL __attribute__((stdcall))
+#define AXISCALL __attribute__((cdecl))
#else
#define AXISCALL __stdcall
#endif
@@ -117,6 +119,7 @@
#define APINOPARAMS void*p
#endif
+/*This was a hack to work around gcc version problems; hence commented out - samisa
#if defined (__GNUC__)
#if __GNUC_VERSION__ > 30000
#define AXISDESTRUCTOR void* unused; void AXISAPI(destructor,(APINOPARAMS))
@@ -127,5 +130,8 @@
#else
#define AXISDESTRUCTOR void AXISAPI(destructor,(APINOPARAMS))
#endif
+*/
+
#endif
+