Changeset 92244ed in mainline


Ignore:
Timestamp:
2019-02-02T16:23:01Z (6 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:
67ca359
Parents:
3446ead
Message:

.tm_nsec of struct tm cannot be conditional

Doing so means that any program that does not define _HELENOS_SOURCE
would be binary-incompatible with libc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/time.h

    r3446ead r92244ed  
    6464struct tm {
    6565        int tm_sec;
    66 #ifdef _HELENOS_SOURCE
    67         int tm_nsec;
    68 #endif
     66        int tm_nsec;  /**< Nonstandard extension, nanoseconds since last second. */
    6967        int tm_min;
    7068        int tm_hour;
Note: See TracChangeset for help on using the changeset viewer.