Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / device / include / sdcc-lib.h
blobd43b58f6ded4e807a01113c6a6648c446916b4f4
1 /*-------------------------------------------------------------------------
2 sdcc-lib.h - Top level header file for the sdcc libraries that enables
3 target specific features.
5 Copyright (C) 2004, Maarten Brock, sourceforge.brock@dse.nl
7 This library is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any
10 later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this library; see the file COPYING. If not, write to the
19 Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
20 MA 02110-1301, USA.
22 As a special exception, if you link this library with other files,
23 some of which are compiled with SDCC, to produce an executable,
24 this library does not by itself cause the resulting executable to
25 be covered by the GNU General Public License. This exception does
26 not however invalidate any other reasons why the executable file
27 might be covered by the GNU General Public License.
28 -------------------------------------------------------------------------*/
30 #ifndef __SDCC_SDCC_LIB_H
31 #define __SDCC_SDCC_LIB_H 1
33 #if defined(__SDCC_z80) || defined(__SDCC_z180) || defined(__SDCC_ez80_z80) || defined(__SDCC_z80n) || defined(__SDCC_r800)
34 #include <asm/z80/features.h>
36 #elif defined(__SDCC_r2k) || defined(__SDCC_r2ka)
37 #include <asm/r2k/features.h>
39 #elif defined(__SDCC_r3ka)
40 #include <asm/r3ka/features.h>
42 #elif defined(__SDCC_tlcs90)
43 #include <asm/tlcs90/features.h>
45 #elif defined(__SDCC_sm83)
46 #include <asm/sm83/features.h>
48 #elif defined(__SDCC_mcs51)
49 #include <asm/mcs51/features.h>
51 #elif defined(__SDCC_ds390)
52 #include <asm/ds390/features.h>
54 #elif defined(__SDCC_stm8)
55 #include <asm/stm8/features.h>
57 #elif defined(__SDCC_pic16)
58 #include <asm/pic16/features.h>
60 #elif defined(__SDCC_f8)
61 #include <asm/f8/features.h>
63 #else
64 /* PENDING */
65 #include <asm/default/features.h>
67 #endif
69 #endif