Skip to content

Commit

Permalink
Ubuntu 14.04's C++ already defines these, so guard them.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Dec 8, 2014
1 parent 517e853 commit 6a546f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libqof/qof/gnc-int128.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@

extern "C"
{
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#define __STDC_CONSTANT_MACROS 1
#define __STDC_FORMAT_MACROS 1
#endif
#include <inttypes.h>
}

Expand Down

0 comments on commit 6a546f7

Please sign in to comment.