diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2012-06-26 15:56:44 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2012-06-26 15:56:44 (GMT) |
commit | 2a918768f1825d4a1f1e5f11674614c74176aa5d (patch) | |
tree | 0f2162b92f9dd599cbb4880245f00da10c7a80b3 /Modules/_ctypes/libffi/src/m32r | |
parent | 13c668229ca819fd0ccb4e6be64ee73f55d2d7f4 (diff) | |
download | cpython-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/m32r')
-rw-r--r-- | Modules/_ctypes/libffi/src/m32r/ffitarget.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Modules/_ctypes/libffi/src/m32r/ffitarget.h b/Modules/_ctypes/libffi/src/m32r/ffitarget.h index 6a761f6..6c34801 100644 --- a/Modules/_ctypes/libffi/src/m32r/ffitarget.h +++ b/Modules/_ctypes/libffi/src/m32r/ffitarget.h @@ -1,5 +1,6 @@ /* -----------------------------------------------------------------*-C-*- - ffitarget.h - Copyright (c) 2004 Renesas Technology. + ffitarget.h - Copyright (c) 2012 Anthony Green + Copyright (c) 2004 Renesas Technology. Target configuration macros for M32R. Permission is hereby granted, free of charge, to any person obtaining @@ -26,6 +27,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 + /* ---- Generic type definitions ----------------------------------------- */ #ifndef LIBFFI_ASM @@ -36,8 +41,8 @@ typedef enum ffi_abi { FFI_FIRST_ABI = 0, FFI_SYSV, - FFI_DEFAULT_ABI = FFI_SYSV, - FFI_LAST_ABI = FFI_DEFAULT_ABI + 1 + FFI_LAST_ABI, + FFI_DEFAULT_ABI = FFI_SYSV } ffi_abi; #endif |