summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-04-28 15:08:14 -0700
committerDavid Schleef <ds@schleef.org>2011-04-28 15:08:56 -0700
commit4d39eb4a8328526855e6af1e1bf037349c00e66c (patch)
tree66487284c45f116dbf3cd648ef0ec5b76a4ddeee
parentccdb7f48470d57b6327167567c4a2fa2d8d03b89 (diff)
sse,mmx: use __amd64__ for 64-bit check
-rw-r--r--orc/orcprogram-mmx.c2
-rw-r--r--orc/orcprogram-sse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/orc/orcprogram-mmx.c b/orc/orcprogram-mmx.c
index 357f548..ef91f0d 100644
--- a/orc/orcprogram-mmx.c
+++ b/orc/orcprogram-mmx.c
@@ -88,7 +88,7 @@ orc_compiler_mmx_get_default_flags (void)
{
unsigned int flags = 0;
-#ifdef HAVE_AMD64
+#ifdef __amd64__
flags |= ORC_TARGET_MMX_64BIT;
#endif
if (_orc_compiler_flag_debug) {
diff --git a/orc/orcprogram-sse.c b/orc/orcprogram-sse.c
index 8d47e6e..b71d3ff 100644
--- a/orc/orcprogram-sse.c
+++ b/orc/orcprogram-sse.c
@@ -88,7 +88,7 @@ orc_compiler_sse_get_default_flags (void)
{
unsigned int flags = 0;
-#ifdef HAVE_AMD64
+#ifdef __amd64__
flags |= ORC_TARGET_SSE_64BIT;
#endif
if (_orc_compiler_flag_debug) {