Ignore:
Timestamp:
2018-06-15T11:39:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55092672
Parents:
e6bab27b
git-author:
Jiri Svoboda <jiri@…> (2018-06-14 21:38:49)
git-committer:
Jiri Svoboda <jiri@…> (2018-06-15 11:39:53)
Message:

iso646.h is ISO C. (A)OFF64_MIN/MAX are neither POSIX nor ISO C.

File:
1 edited

Legend:

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

    re6bab27b r1ae9c07  
    11/*
    2  * Copyright (c) 2011 Petr Koupy
     2 * Copyright (c) 2018 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3030 * @{
    3131 */
    32 /** @file Integer types.
    33  */
    3432
    3533#ifndef POSIX_STDINT_H_
    3634#define POSIX_STDINT_H_
    3735
     36/*
     37 * Just a pass-through to libc stdint.
     38 */
    3839#include "libc/stdint.h"
    3940
    40 #undef OFF64_MAX
    41 #undef OFF64_MIN
    42 #define OFF64_MAX  INT64_MAX
    43 #define OFF64_MIN  INT64_MIN
    44 
    45 #undef AOFF64_MAX
    46 #undef AOFF64_MIN
    47 #define AOFF64_MAX  UINT64_MAX
    48 #define AOFF64_MIN  UINT64_MIN
    49 
    50 #endif /* POSIX_STDINT_H_ */
     41#endif
    5142
    5243/** @}
Note: See TracChangeset for help on using the changeset viewer.