diff options
| author | Daniel P. Berrange <berrange@redhat.com> | 2012-04-25 15:17:45 +0100 |
|---|---|---|
| committer | Daniel P. Berrange <berrange@redhat.com> | 2012-04-26 18:46:52 +0100 |
| commit | 91210c671fd3837a42a6358ecd21cb1e153c9855 (patch) | |
| tree | a6d31203d929153c138e7fa0bac07b6ba1a51221 /client/utils.cpp | |
| parent | 5e15aa74c65892335e6533d6ee86cc07588e5a17 (diff) | |
Ensure __STDC_FORMAT_MACROS is always defined first
The client/common.h file defines __STDC_FORMAT_MACROS before
including inttypes.h so that the PRI* macros get defined in
C++. This is ignoring the possibility that other global
includes may have already pulled in inttypes.h
We need __STDC_FORMAT_MACROS to be defined before any header
files are included. Putting it in config.h satisfies this,
since config.h is always the first header
Diffstat (limited to 'client/utils.cpp')
0 files changed, 0 insertions, 0 deletions
