CC_CONST_FUNCTION replaces some const keywords in order to workaround a sdcc bug, which cannot handle function pointers as const.
This commit is contained in:
parent
b8820a7d89
commit
d194d54e8e
6 changed files with 26 additions and 25 deletions
|
@ -27,18 +27,18 @@
|
|||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: z80def.h,v 1.5 2008/07/02 07:13:22 matsutsuka Exp $
|
||||
* $Id: z80def.h,v 1.6 2008/07/02 15:02:33 matsutsuka Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* \file
|
||||
* This file contains a set of configuration for using SDCC as a compiler.
|
||||
*
|
||||
* This file contains a set of configuration for using SDCC as a compiler.
|
||||
*
|
||||
* \author
|
||||
* Takahide Matsutsuka <markn@markn.org>
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __Z80_DEF_H__
|
||||
#define __Z80_DEF_H__
|
||||
|
||||
|
@ -69,6 +69,7 @@ typedef unsigned int size_t;
|
|||
/* Compiler configurations */
|
||||
#define CCIF
|
||||
#define CLIF
|
||||
#define CC_CONF_CONST_FUNCTION_BUG
|
||||
|
||||
/*
|
||||
* Enable architecture-depend checksum calculation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue