Changeset cca80a2 in mainline


Ignore:
Timestamp:
2018-08-26T16:30:08Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8867cf6
Parents:
bd41ac52
Message:

Libposix string.h must not undef _HELENOS_SOURCE

Libposix code itself is _HELENOS_SOURCE so including posix/string.h by
a libposix .c file must not spoil this property for the rest of the code
after the include.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/string.h

    rbd41ac52 rcca80a2  
    4848
    4949#include "libc/mem.h"
     50#ifdef _HELENOS_SOURCE
    5051#undef _HELENOS_SOURCE
    5152#include "libc/string.h"
     53#define _HELENOS_SOURCE
     54#else
     55#include "libc/string.h"
     56#endif
    5257
    5358/* Copying and Concatenation */
Note: See TracChangeset for help on using the changeset viewer.