summaryrefslogtreecommitdiff
path: root/libffi/src/sparc/ffitarget.h
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-06 12:26:52 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-06 12:26:52 +0000
commit9e338d61be8585118f9d8da7f9db054f237a7f69 (patch)
tree105c2336b4252813cb4b4f1e5ef59cba44228c8d /libffi/src/sparc/ffitarget.h
parentb7e554696457939778e4be53d04b9eea3e5475ce (diff)
downloadgcc-9e338d61be8585118f9d8da7f9db054f237a7f69.tar.gz
Define libffi macros carefully
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162945 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/sparc/ffitarget.h')
-rw-r--r--libffi/src/sparc/ffitarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libffi/src/sparc/ffitarget.h b/libffi/src/sparc/ffitarget.h
index 1a1a1ac8d98..50554b8805d 100644
--- a/libffi/src/sparc/ffitarget.h
+++ b/libffi/src/sparc/ffitarget.h
@@ -30,8 +30,10 @@
/* ---- System specific configurations ----------------------------------- */
#if defined(__arch64__) || defined(__sparcv9)
+#ifndef SPARC64
#define SPARC64
#endif
+#endif
#ifndef LIBFFI_ASM
typedef unsigned long ffi_arg;