Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Need to define __STDC_FORMAT_MACROS for some glibc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rnchamberlain committed Oct 27, 2016
1 parent 1ba381f commit 6b5a965
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/node_report.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#else
#include <sys/time.h>
#include <sys/resource.h>
// Get the standard printf format macros for C99 stdint types.
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#include <inttypes.h>
#include <cxxabi.h>
#include <dlfcn.h>
Expand Down

0 comments on commit 6b5a965

Please sign in to comment.