Re: [Spice-devel] [PATCH spice] Ensure __STDC_FORMAT_MACROS is always defined first

2012-04-25 Thread Hans de Goede
ACK. On 04/25/2012 04:19 PM, Daniel P. Berrange wrote: From: "Daniel P. Berrange" 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

[Spice-devel] [PATCH spice] Ensure __STDC_FORMAT_MACROS is always defined first

2012-04-25 Thread Daniel P. Berrange
From: "Daniel P. Berrange" 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 be