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

Commit

Permalink
Merge pull request #9 from rnchamberlain/stdc_format_macros
Browse files Browse the repository at this point in the history
Need to define __STDC_FORMAT_MACROS for some glibc versions
  • Loading branch information
rnchamberlain authored Nov 1, 2016
2 parents ba89b25 + 6b5a965 commit b5ed0b2
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 b5ed0b2

Please sign in to comment.