mirror of
https://github.com/serge1/ELFIO.git
synced 2025-02-06 03:40:13 +00:00
Use C++ type header
This commit is contained in:
parent
6239a7a9d2
commit
91832c584a
@ -25,7 +25,7 @@ THE SOFTWARE.
|
||||
|
||||
#ifndef ELFIO_NO_OWN_TYPES
|
||||
#if !defined(ELFIO_NO_CSTDINT) && !defined(ELFIO_NO_INTTYPES)
|
||||
#include <inttypes.h>
|
||||
#include <cstdint>
|
||||
#else
|
||||
typedef unsigned char uint8_t;
|
||||
typedef signed char int8_t;
|
||||
|
@ -26,6 +26,8 @@ THE SOFTWARE.
|
||||
#define _SCL_SECURE_NO_WARNINGS
|
||||
#define ELFIO_NO_INTTYPES
|
||||
#define PRIx64 "llx"
|
||||
#else
|
||||
#define PRIx64 "X"
|
||||
#endif
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
Loading…
x
Reference in New Issue
Block a user