[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-cvs
Subject:    cvs commit: xml-xalan/c/src/xalanc/XalanEXSLT XalanEXSLTDateTime.cpp
From:       dbertoni () apache ! org
Date:       2005-09-19 18:16:02
Message-ID: 20050919181602.39974.qmail () minotaur ! apache ! org
[Download RAW message or body]

dbertoni    2005/09/19 11:16:02

  Modified:    c/src/xalanc/XalanEXSLT XalanEXSLTDateTime.cpp
  Log:
  Patches for XALANC-555.
  
  Revision  Changes    Path
  1.13      +7 -4      xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTDateTime.cpp
  
  Index: XalanEXSLTDateTime.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTDateTime.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- XalanEXSLTDateTime.cpp	16 Aug 2005 01:06:48 -0000	1.12
  +++ XalanEXSLTDateTime.cpp	19 Sep 2005 18:16:02 -0000	1.13
  @@ -100,8 +100,6 @@
   
   
   #if defined(XALAN_STRICT_ANSI_HEADERS)
  -using std::gmtime;
  -using std::localtime;
   using std::sprintf;
   using std::time;
   using std::time_t;
  @@ -110,7 +108,12 @@
   
   
   
  -#if defined(WIN32) || defined(__DECCXX) || defined(OS390)
  +#if defined(XALAN_NO_REENTRANT_TIME_FUNCTIONS)
  +
  +#if defined(XALAN_STRICT_ANSI_HEADERS)
  +using std::gmtime;
  +using std::localtime;
  +#endif
   
   static struct tm*
   localtime_r(const time_t *clock, struct tm *res)
  @@ -152,7 +155,7 @@
       
   }
   
  -#endif // defined(WIN32) || defined(__DECCXX)
  +#endif
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic