mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-16 14:28:43 +00:00
Fixed: __PRI64_PREFIX not defined under NetBSD
This commit is contained in:
parent
9b892b7bc7
commit
823cee2589
1 changed files with 9 additions and 11 deletions
|
@ -287,19 +287,17 @@ typedef unsigned int uint; // at least 32bits (depend of processor)
|
||||||
#define __STDC_FORMAT_MACROS
|
#define __STDC_FORMAT_MACROS
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#ifdef NL_OS_MAC
|
#if defined(__PRI_64_LENGTH_MODIFIER__)
|
||||||
# define NL_I64 __PRI_64_LENGTH_MODIFIER__
|
# define NL_I64 __PRI_64_LENGTH_MODIFIER__
|
||||||
#else
|
#elif defined(__PRI64_PREFIX)
|
||||||
# define NL_I64 __PRI64_PREFIX
|
# define NL_I64 __PRI64_PREFIX
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
/*
|
|
||||||
# ifdef _LP64
|
# ifdef _LP64
|
||||||
# define NL_I64 "l"
|
# define NL_I64 "l"
|
||||||
# else
|
# else
|
||||||
# define NL_I64 "ll"
|
# define NL_I64 "ll"
|
||||||
# endif // _LP64
|
# endif // _LP64
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
#endif // NL_OS_UNIX
|
#endif // NL_OS_UNIX
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue