mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Adding a define to make the stdint C macros available.
This commit is contained in:
parent
95f4390cb6
commit
7fc96a8c0f
2 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue