Adding a define to make the stdint C macros available.

This commit is contained in:
Seth Hall 2012-06-18 15:49:00 -04:00
parent 95f4390cb6
commit 7fc96a8c0f
2 changed files with 1 additions and 1 deletions

View file

@ -6,7 +6,6 @@
#include <string> #include <string>
#include <errno.h> #include <errno.h>
#include <stdint.h>
#include "util.h" #include "util.h"
#include "BroString.h" #include "BroString.h"

View file

@ -13,6 +13,7 @@
// Expose C99 functionality from inttypes.h, which would otherwise not be // Expose C99 functionality from inttypes.h, which would otherwise not be
// available in C++. // available in C++.
#define __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS
#define __STDC_LIMIT_MACROS
#include <inttypes.h> #include <inttypes.h>
#if __STDC__ #if __STDC__