From: imarom Date: Sun, 28 Feb 2016 13:09:53 +0000 (+0200) Subject: on Fedora 18, inttypes.h requires explicit define X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0fd006c24926377eb975eeb8885c0b4ed71db546;p=trex.git 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 --- 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