summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/ChangeLog6
-rw-r--r--ACE/ace/config-win32-borland.h8
2 files changed, 11 insertions, 3 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 59cad4cbd8e..49701775927 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,9 @@
+Thu Sep 6 18:28:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ace/config-win32-borland.h:
+ Make use of the new inline assembly feature of the upcoming CodeGear C++
+ compiler
+
Thu Sep 6 18:53:06 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
* tests/run_test.lst:
diff --git a/ACE/ace/config-win32-borland.h b/ACE/ace/config-win32-borland.h
index 2646135e8a8..fd0970e416f 100644
--- a/ACE/ace/config-win32-borland.h
+++ b/ACE/ace/config-win32-borland.h
@@ -103,11 +103,13 @@
#define ACE_HAS_NONCONST_TEMPNAM
-// The Borland compiler can't handle assembly in inline methods or
+#if (__BORLANDC__ < 0x592)
+// Older Borland compilers can't handle assembly in inline methods or
// templates (E2211). When we build for pentium optimized and we are inlining
// then we disable inline assembly
-#if defined (ACE_HAS_PENTIUM) && defined(__ACE_INLINE__)
-# define ACE_LACKS_INLINE_ASSEMBLY
+# if defined (ACE_HAS_PENTIUM) && defined(__ACE_INLINE__)
+# define ACE_LACKS_INLINE_ASSEMBLY
+# endif
#endif
#define ACE_WCSDUP_EQUIVALENT ::_wcsdup