Changeset 4d10fc8 in mainline for uspace/lib/posix/time.h


Ignore:
Timestamp:
2011-06-07T17:16:38Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
acc3f82c
Parents:
2fc5072
Message:

Add LIBPOSIX_INTERNAL macro to avoid unnecessary undefines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/time.h

    r2fc5072 r4d10fc8  
    6363extern size_t posix_strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct posix_tm *restrict tm);
    6464
    65 #define tm posix_tm
     65#ifndef LIBPOSIX_INTERNAL
     66        #define tm posix_tm
    6667
    67 #define localtime posix_localtime
     68        #define localtime posix_localtime
    6869
    69 #define asctime posix_asctime
    70 #define ctime posix_ctime
    71 #define strftime posix_strftime
     70        #define asctime posix_asctime
     71        #define ctime posix_ctime
     72        #define strftime posix_strftime
     73#endif
    7274
    7375#endif  // POSIX_TIME_H_
Note: See TracChangeset for help on using the changeset viewer.