summaryrefslogtreecommitdiff
path: root/src/powerpc
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/powerpc
parentd578b89619cf3d2baff027b203619dc307fc12e3 (diff)
downloadlibffi-8360bf1cd0aba8db5582266da70467de7e89a57a.tar.gz
Ensure that users don't include ffitarget.h directly
Diffstat (limited to 'src/powerpc')
-rw-r--r--src/powerpc/ffitarget.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/powerpc/ffitarget.h b/src/powerpc/ffitarget.h
index 820c482..3c9db49 100644
--- a/src/powerpc/ffitarget.h
+++ b/src/powerpc/ffitarget.h
@@ -1,6 +1,8 @@
/* -----------------------------------------------------------------*-C-*-
- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc.
- Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc
+ ffitarget.h - Copyright (c) 2012 Anthony Green
+ Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc
+ Copyright (c) 1996-2003 Red Hat, Inc.
+
Target configuration macros for PowerPC.
Permission is hereby granted, free of charge, to any person obtaining
@@ -28,6 +30,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 ----------------------------------- */
#if defined (POWERPC) && defined (__powerpc64__) /* linux64 */