Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
21fe2be
)
on Fedora 18, inttypes.h requires explicit define
author
imarom
<
[email protected]
>
Sun, 28 Feb 2016 13:09:53 +0000
(15:09 +0200)
committer
imarom
<
[email protected]
>
Sun, 28 Feb 2016 13:09:53 +0000
(15:09 +0200)
/* The ISO C99 standard specifies that these macros must only be
defined if explicitly requested. */
if !defined __cplusplus || defined __STDC_FORMAT_MACROS
src/main_dpdk.cpp
patch
|
blob
|
history
diff --git
a/src/main_dpdk.cpp
b/src/main_dpdk.cpp
index
1b5b82f
..
8891726
100644
(file)
--- 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>