summaryrefslogtreecommitdiff
path: root/ext/ffi_c/libffi/src/s390/ffitarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffi_c/libffi/src/s390/ffitarget.h')
-rw-r--r--ext/ffi_c/libffi/src/s390/ffitarget.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/ffi_c/libffi/src/s390/ffitarget.h b/ext/ffi_c/libffi/src/s390/ffitarget.h
index a262691..0e4868a 100644
--- a/ext/ffi_c/libffi/src/s390/ffitarget.h
+++ b/ext/ffi_c/libffi/src/s390/ffitarget.h
@@ -1,5 +1,6 @@
/* -----------------------------------------------------------------*-C-*-
- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc.
+ ffitarget.h - Copyright (c) 2012 Anthony Green
+ Copyright (c) 1996-2003 Red Hat, Inc.
Target configuration macros for S390.
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
+
#if defined (__s390x__)
#ifndef S390X
#define S390X
@@ -47,6 +52,8 @@ typedef enum ffi_abi {
} ffi_abi;
#endif
+#define FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION
+#define FFI_TARGET_HAS_COMPLEX_TYPE
/* ---- Definitions for closures ----------------------------------------- */