summaryrefslogtreecommitdiff
path: root/src/m68k
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-02-23 07:01:13 -0500
committerAnthony Green <green@moxielogic.com>2012-02-23 07:01:13 -0500
commit8360bf1cd0aba8db5582266da70467de7e89a57a (patch)
treee1bcf0075ef88d30f71b131787bc2da049a80024 /src/m68k
parentd578b89619cf3d2baff027b203619dc307fc12e3 (diff)
downloadlibffi-8360bf1cd0aba8db5582266da70467de7e89a57a.tar.gz
Ensure that users don't include ffitarget.h directly
Diffstat (limited to 'src/m68k')
-rw-r--r--src/m68k/ffitarget.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/m68k/ffitarget.h b/src/m68k/ffitarget.h
index 3b777ed..e81dde2 100644
--- a/src/m68k/ffitarget.h
+++ b/src/m68k/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 Motorola 68K.
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
+
#ifndef LIBFFI_ASM
typedef unsigned long ffi_arg;
typedef signed long ffi_sarg;