On Tue, Dec 16, 2014 at 5:04 PM, Michael Haubenwallner <michael.haubenwall...@ssi-schaefer.com> wrote: > Recent commit 218765 adding sreal::to_double() breaks on AIX due to math.h > being included before _LARGE_FILES and __STDC_FORMAT_MACROS being defined > later in config.h and system.h, respectively.
sreal.c shouldn't include math.h, if really really really needed math.h needs to be included from system.h at the appropriate place. Richard, > 2014-12-16 Michael Haubenwallner <michael.haubenwall...@ssi-schaefer.com> > > Both config.h and system.h define ABI/API macros for system headers. > * sreal.c: Include math.h later. > > Thanks! > /haubi/