summaryrefslogtreecommitdiffstats
path: root/Modules/_ctypes/libffi/src/frv
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2012-06-26 15:56:44 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2012-06-26 15:56:44 (GMT)
commit2a918768f1825d4a1f1e5f11674614c74176aa5d (patch)
tree0f2162b92f9dd599cbb4880245f00da10c7a80b3 /Modules/_ctypes/libffi/src/frv
parent13c668229ca819fd0ccb4e6be64ee73f55d2d7f4 (diff)
downloadcpython-2a918768f1825d4a1f1e5f11674614c74176aa5d.zip
cpython-2a918768f1825d4a1f1e5f11674614c74176aa5d.tar.gz
cpython-2a918768f1825d4a1f1e5f11674614c74176aa5d.tar.bz2
- Issue #15194: Update libffi to the 3.0.11 release.
Diffstat (limited to 'Modules/_ctypes/libffi/src/frv')
-rw-r--r--Modules/_ctypes/libffi/src/frv/ffitarget.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/Modules/_ctypes/libffi/src/frv/ffitarget.h b/Modules/_ctypes/libffi/src/frv/ffitarget.h
index 1c319ea..d42540e 100644
--- a/Modules/_ctypes/libffi/src/frv/ffitarget.h
+++ b/Modules/_ctypes/libffi/src/frv/ffitarget.h
@@ -1,5 +1,6 @@
/* -----------------------------------------------------------------*-C-*-
- ffitarget.h - Copyright (c) 1996-2004 Red Hat, Inc.
+ ffitarget.h - Copyright (c) 2012 Anthony Green
+ Copyright (c) 1996-2004 Red Hat, Inc.
Target configuration macros for FR-V
Permission is hereby granted, free of charge, to any person obtaining
@@ -27,6 +28,10 @@
#ifndef LIBFFI_TARGET_H
#define LIBFFI_TARGET_H
+#ifndef LIBFFI_H
+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead."
+#endif
+
/* ---- System specific configurations ----------------------------------- */
#ifndef LIBFFI_ASM
@@ -35,13 +40,9 @@ typedef signed long ffi_sarg;
typedef enum ffi_abi {
FFI_FIRST_ABI = 0,
-
-#ifdef FRV
FFI_EABI,
- FFI_DEFAULT_ABI = FFI_EABI,
-#endif
-
- FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
+ FFI_LAST_ABI,
+ FFI_DEFAULT_ABI = FFI_EABI
} ffi_abi;
#endif