diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-06-20 17:20:52 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-06-20 17:20:52 +0000 |
commit | 968e66be43f6448e74c5e3c1b4419d979203f418 (patch) | |
tree | 0696fc929fefb02718b5df148bc803332a010caa /ACE/ace/config-win32-mingw.h | |
parent | f6f832ff1fc22dd6b44841d4269a9995b89a2410 (diff) | |
download | ATCD-968e66be43f6448e74c5e3c1b4419d979203f418.tar.gz |
ChangeLogTag: Mon Jun 20 17:17:26 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'ACE/ace/config-win32-mingw.h')
-rw-r--r-- | ACE/ace/config-win32-mingw.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ACE/ace/config-win32-mingw.h b/ACE/ace/config-win32-mingw.h index 1b20b3fdf61..c30956e6d5b 100644 --- a/ACE/ace/config-win32-mingw.h +++ b/ACE/ace/config-win32-mingw.h @@ -92,6 +92,16 @@ #define ACE_INT64_FORMAT_SPECIFIER_ASCII "%I64d" #define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%I64u" +#define ACE_LONG_DOUBLE_FORMAT_SPECIFIER_ASCII "%24.16G" + +// MinGW as supplied doesn't support the long double format +// in printf out of the box. So for long double constants, +// generated from IDL, we must print the literal as a double. +// The directive below will make the argument to printf agree +// with the format string defined above. It will not affect +// marshaling (see CDR_Base.h, near the top of the workaround +// struct LongDouble). +#define ACE_CDR_IMPLEMENT_WITH_NATIVE_DOUBLE 1 #define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) (STATUS)) |