Changeset c7a67c4 in mainline for uspace


Ignore:
Timestamp:
2017-05-22T17:55:43Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b942a66
Parents:
e540bc87
Message:

libc should provide limits.h from the C std. Here's a first crude approximation.

Location:
uspace/lib
Files:
1 added
1 edited

Legend:

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

    re540bc87 rc7a67c4  
    3636#define POSIX_LIMITS_H_
    3737
    38 #include "stdint.h"
    39 #include "libc/sys/types.h"
    40 
    41 #undef SHRT_MIN
    42 #undef SHRT_MAX
    43 #undef USHRT_MAX
    44 #define SHRT_MIN SHORT_MIN
    45 #define SHRT_MAX SHORT_MAX
    46 #define USHRT_MAX USHORT_MAX
     38#include "posix/stdint.h"
     39#include "libc/limits.h"
    4740
    4841#undef PATH_MAX
Note: See TracChangeset for help on using the changeset viewer.