summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-06-15 13:12:47 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-06-15 13:12:47 +0000
commit13352a6702c717a0e2f65f097dd6e3aa70ddc9a6 (patch)
tree798cc61f097fe8f105f6b4e0a6840bc51d6f1048
parent3b6a5e88f86a4c116354ea0291eca180a8050140 (diff)
downloadATCD-13352a6702c717a0e2f65f097dd6e3aa70ddc9a6.tar.gz
ChangeLogTag: Wed Jun 15 13:10:40 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--ACE/ChangeLog8
-rw-r--r--ACE/ace/Basic_Types.h4
2 files changed, 12 insertions, 0 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 6d25a698e3f..aee39e06f7d 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,11 @@
+Wed Jun 15 13:10:40 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * ace/Basic_Types.h:
+
+ Added a special version of ACE_LONG_DOUBLE_FORMAT_SPECIFIER_ASCII
+ for Minggw32, which seems to diverge from other platforms in how
+ it conforms to the printf print format.
+
Fri Jun 10 19:05:30 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu>
* ace/Basic_Types.h:
diff --git a/ACE/ace/Basic_Types.h b/ACE/ace/Basic_Types.h
index 484be29d715..e9c25ab7243 100644
--- a/ACE/ace/Basic_Types.h
+++ b/ACE/ace/Basic_Types.h
@@ -838,7 +838,11 @@ ACE_END_VERSIONED_NAMESPACE_DECL
(ACE_CDR_IMPLEMENT_WITH_NATIVE_DOUBLE == 1)
# define ACE_LONG_DOUBLE_FORMAT_SPECIFIER_ASCII "%#24.16G"
# else
+# if defined (__MINGW32__)
+# define ACE_LONG_DOUBLE_FORMAT_SPECIFIER_ASCII "%24.16LG"
+# else
# define ACE_LONG_DOUBLE_FORMAT_SPECIFIER_ASCII "%#24.16LGL"
+# endif /* __MINGW32__ */
# endif /* ACE_CDR_IMPLEMENT_WITH_NATIVE_DOUBLE */
#endif /* ACE_LONG_DOUBLE_FORMAT_SPECIFIER_ASCII */