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 su...@apache.org on 2004/06/12 09:10:16 UTC

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

susantha    2004/06/12 00:10:16

  Modified:    c/include/axis/server TypeMapping.h
  Log:
  Corrected the compilation error on Debian Linux
  
  Revision  Changes    Path
  1.11      +1 -1      ws-axis/c/include/axis/server/TypeMapping.h
  
  Index: TypeMapping.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/server/TypeMapping.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TypeMapping.h	11 Jun 2004 07:30:14 -0000	1.10
  +++ TypeMapping.h	12 Jun 2004 07:10:16 -0000	1.11
  @@ -59,7 +59,7 @@
       static XSDTYPE map(const AxisXMLCh* sType);
       static void initialize();
   
  -#if (defined(AIX) || (defined(_MSC_VER) && _MSC_VER >= 1300))
  +#if (defined(AIX) || (defined(_MSC_VER) && _MSC_VER >= 1300) || defined(__GNUC__))
       static std::map<AxisXMLString, XSDTYPE> m_sTypeMap;
   #else
       static std::map<const AxisXMLString, XSDTYPE> TypeMapping::m_sTypeMap;