1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-04-03 00:25:45 +02:00
parent fbbb33287b
commit ead7cc00be

View file

@ -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