changeset 29701:ab2def5a960f

Extend EBX_AVAILABLE check in a way that works for both OpenBSD/Haiku and 64 bit OSX.
author reimar
date Wed, 30 Sep 2009 18:45:02 +0000
parents cd5b4ddc9546
children 28fb967d78d8
files configure
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Sep 30 14:55:43 2009 +0000
+++ b/configure	Wed Sep 30 18:45:02 2009 +0000
@@ -2571,6 +2571,8 @@
         // just adding ebx to clobber list seems unreliable with some
         // compilers, e.g. Haiku's gcc 2.95
     );
+    // and the above check does not work for OSX 64 bit...
+    __asm__ volatile("":::"%ebx");
     return 0;
 }
 EOF