Ensure that users don't include ffitarget.h directly

This commit is contained in:
Anthony Green
2012-02-23 07:01:13 -05:00
parent d578b89619
commit 8360bf1cd0
114 changed files with 2870 additions and 712 deletions

View File

@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------*-C-*-
ffitarget.h - Copyright (c) 2009 Anthony Green
ffitarget.h - Copyright (c) 2012, 2009 Anthony Green
Target configuration macros for Moxie
Permission is hereby granted, free of charge, to any person obtaining
@@ -27,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
/* ---- System specific configurations ----------------------------------- */
#ifndef LIBFFI_ASM