format macros and limit macros - updated the WAF makefiles
'-D_BYTE_ORDER',
'-D_LITTLE_ENDIAN',
'-DLINUX',
+ '-D__STDC_LIMIT_MACROS',
+ '-D__STDC_FORMAT_MACROS',
'-g',
'-Wno-deprecated-declarations',
'-std=c++0x',
'-Wno-format',
'-Wno-deprecated-declarations',
'-DRTE_DPDK',
+ '-D__STDC_LIMIT_MACROS',
+ '-D__STDC_FORMAT_MACROS',
'-include','../src/pal/linux_dpdk/dpdk22/rte_config.h'
]
See the License for the specific language governing permissions and
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>
#include <rte_common.h>
#include <rte_log.h>