Announce SDCC 4.5.0 RC3.
[sdcc.git] / sdcc / src / common.h
blobd4d9201963e4612ab006af38e7bc09f5ef802216
1 /*-------------------------------------------------------------------------
2 common.h - include common header files
4 Copyright (C) 2000, KEvin Vigor
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
9 later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 -------------------------------------------------------------------------*/
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <ctype.h>
24 #include <string.h>
26 #ifndef COMMON_H
27 #define COMMON_H
29 #if defined(__APPLE__) && (__MACH__)
30 #ifdef _G
31 #undef _G
32 #endif
33 #endif
35 /* C++ incompatible header files */
36 #ifdef __cplusplus
37 /* TODO: the extern "C" should be moved to each header file */
38 extern "C" {
39 #endif
41 #include "SDCCglobl.h"
42 #include "SDCCmem.h"
43 #include "SDCCast.h"
44 #include "SDCCy.h"
45 #include "SDCChasht.h"
46 #include "SDCCbitv.h"
47 #include "SDCCset.h"
48 #include "SDCCicode.h"
49 #include "SDCClabel.h"
50 #include "SDCCBBlock.h"
51 #include "SDCCloop.h"
52 #include "SDCCcse.h"
53 #include "SDCCcflow.h"
54 #include "SDCCdflow.h"
55 #include "SDCClrange.h"
56 #include "SDCCptropt.h"
57 #include "SDCCopt.h"
58 #include "SDCCglue.h"
59 #include "SDCCpeeph.h"
60 #include "SDCCdebug.h"
61 #include "SDCCutil.h"
62 #include "SDCCasm.h"
63 #include "SDCCsystem.h"
65 #include "port.h"
67 #include "newalloc.h"
69 #ifdef __cplusplus
71 #endif
73 /* C++ compatible header files */
74 #include "SDCCgen.h"
76 #endif