summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */