diff options
author | 2016-02-28 15:09:53 +0200 | |
---|---|---|
committer | 2016-02-28 15:09:53 +0200 | |
commit | 0fd006c24926377eb975eeb8885c0b4ed71db546 (patch) | |
tree | 4d9b05ed3f75304c4b9f2a2e3c3e28f25538577e | |
parent | 21fe2befe8806ac2a70cfb1d1c45737bee7e2702 (diff) |
on Fedora 18, inttypes.h requires explicit define
/* The ISO C99 standard specifies that these macros must only be
defined if explicitly requested. */
if !defined __cplusplus || defined __STDC_FORMAT_MACROS
-rw-r--r-- | src/main_dpdk.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp index 1b5b82f9..88917269 100644 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -22,6 +22,7 @@ limitations under the License. // DPDK c++ issue #define UINT8_MAX 255 #define UINT16_MAX 0xFFFF +#define __STDC_FORMAT_MACROS // DPDK c++ issue #include <pwd.h> |