Ignore:
Timestamp:
Nov 22, 2001, 12:33:19 PM (24 years ago)
Author:
aubourg
Message:

pour compilation darwin (MacOS X 10.1.1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/ppersist.cc

    r1202 r1783  
    1717
    1818//  strptime n'est pas defini sous Linux  - Reza Mars 2000
    19 #if defined(OS_LINUX)
     19#if defined(OS_LINUX) || defined(OS_MACOSX)
    2020extern "C" {
    2121char *strptime(char *buf, const char *format, const struct tm *tm);
     
    430430  rbuf[32] = '\0';
    431431  struct tm tm;
    432   #ifndef __MWERKS__
     432  #if !(defined(__MWERKS__) || defined(OS_MACOSX))
    433433  strptime(rbuf,"%d/%m/%Y %H:%M:%S GMT",&tm);
    434434  #else
Note: See TracChangeset for help on using the changeset viewer.