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 da...@apache.org on 2004/09/10 13:35:09 UTC

cvs commit: ws-axis/c/include/axis/server GDefine.h

damitha     2004/09/10 04:35:09

  Modified:    c/include/axis/server GDefine.h
  Log:
   /*replaced stdcall with cdecl to make it work on some platforms with older libraries - Samisa*/
   /*#define AXISCALL __attribute__((stdcall))*/
   #define AXISCALL __attribute__((cdecl))
  +#else /* unix or win32 */
  +#if defined(__unix)
  +#define AXISCALL
   #else
   #define AXISCALL __stdcall
   #endif
  
  +#endif
  
  This patch was sent by Valentine.
  Thanks Valentine
  
  Revision  Changes    Path
  1.17      +5 -0      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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- GDefine.h	6 Aug 2004 14:44:20 -0000	1.16
  +++ GDefine.h	10 Sep 2004 11:35:09 -0000	1.17
  @@ -100,9 +100,14 @@
   /*replaced stdcall with cdecl to make it work on some platforms with older libraries - Samisa*/
   /*#define AXISCALL __attribute__((stdcall))*/
   #define AXISCALL __attribute__((cdecl))
  +#else /* unix or win32 */
  +#if defined(__unix)
  +#define AXISCALL
   #else
   #define AXISCALL __stdcall
   #endif
  +#endif
  +
   
   /*
    * Following macro define an API function of Axis C++