sdcc-gas/src/common.h

77 lines
1.8 KiB
C

/*-------------------------------------------------------------------------
common.h - include common header files
Copyright (C) 2000, KEvin Vigor
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-------------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#ifndef COMMON_H
#define COMMON_H
#if defined(__APPLE__) && (__MACH__)
#ifdef _G
#undef _G
#endif
#endif
/* C++ incompatible header files */
#ifdef __cplusplus
/* TODO: the extern "C" should be moved to each header file */
extern "C" {
#endif
#include "SDCCglobl.h"
#include "SDCCmem.h"
#include "SDCCast.h"
#include "SDCCy.h"
#include "SDCChasht.h"
#include "SDCCbitv.h"
#include "SDCCset.h"
#include "SDCCicode.h"
#include "SDCClabel.h"
#include "SDCCBBlock.h"
#include "SDCCloop.h"
#include "SDCCcse.h"
#include "SDCCcflow.h"
#include "SDCCdflow.h"
#include "SDCClrange.h"
#include "SDCCptropt.h"
#include "SDCCopt.h"
#include "SDCCglue.h"
#include "SDCCpeeph.h"
#include "SDCCdebug.h"
#include "SDCCutil.h"
#include "SDCCasm.h"
#include "SDCCsystem.h"
#include "port.h"
#include "newalloc.h"
#ifdef __cplusplus
}
#endif
/* C++ compatible header files */
#include "SDCCgen.h"
#endif