mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Honor feature macros in <inttypes.h>.
This commit is contained in:
parent
fbbb33287b
commit
ead7cc00be
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2012, 2013.
|
||||
Copyright(C) Jonas 'Sortie' Termansen 2012, 2013, 2014.
|
||||
|
||||
This file is part of the Sortix C Library.
|
||||
|
||||
|
@ -31,6 +31,8 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#if __USE_SORTIX || defined(__STDC_FORMAT_MACROS) || !defined(__cplusplus)
|
||||
|
||||
#define PRId8 __PRId8
|
||||
#define PRIi8 __PRIi8
|
||||
#define PRIo8 __PRIo8
|
||||
|
@ -199,6 +201,8 @@
|
|||
#define SCNuMAX __SCNuMAX
|
||||
#define SCNxMAX __SCNxMAX
|
||||
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifndef __wchar_t_defined
|
||||
|
|
Loading…
Reference in a new issue