Changeset 3875f106 in mainline for uspace/lib/c/include/string.h


Ignore:
Timestamp:
2018-11-09T13:36:27Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1a5fe4f
Parents:
9c75a99d
git-author:
Jiri Svoboda <jiri@…> (2018-10-09 06:34:48)
git-committer:
Jiri Svoboda <jiri@…> (2018-11-09 13:36:27)
Message:

Fix broken XCW. Allow using string.h by cross-platform SW even if _HELENOS_SOURCE needs to be defined.

File:
1 edited

Legend:

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

    r9c75a99d r3875f106  
    3636#define LIBC_STRING_H_
    3737
    38 #ifdef _HELENOS_SOURCE
     38#if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H)
    3939#error Please use str.h and mem.h instead
    4040#endif
Note: See TracChangeset for help on using the changeset viewer.