Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h instead

svn-id: r21605
This commit is contained in:
Max Horn 2006-04-04 21:45:13 +00:00
parent 595a48a87e
commit e4930bd96d
7 changed files with 14 additions and 30 deletions

View File

@ -20,9 +20,8 @@
* $Id$
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "common/stdafx.h"
#include "common/scummsys.h"
#if defined(UNIX) && defined(USE_ALSA)

View File

@ -26,10 +26,6 @@
#include "common/util.h"
#include "base/main.h"
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "scummvm.xpm"
#if defined(__amigaos4__)

View File

@ -34,10 +34,6 @@
#include "sound/mididrv.h"
#include "sound/mixer.h"
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#ifdef UNIX
#include <errno.h>
#include <sys/stat.h>

View File

@ -32,13 +32,11 @@
* - derivative works of the program are allowed.
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "common/stdafx.h"
#include "common/scummsys.h"
#include "graphics/scaler/intern.h"
#include "scale2x.h"
#include "graphics/scaler/scale2x.h"
#include <assert.h>

View File

@ -32,13 +32,11 @@
* - derivative works of the program are allowed.
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "common/stdafx.h"
#include "common/scummsys.h"
#include "graphics/scaler/intern.h"
#include "scale3x.h"
#include "graphics/scaler/scale3x.h"
#include <assert.h>

View File

@ -33,14 +33,12 @@
* - derivative works of the program are allowed.
*/
#if defined(HAVE_CONFIG_H)
#include <config.h>
#endif
#include "common/stdafx.h"
#include "common/scummsys.h"
#include "graphics/scaler/intern.h"
#include "scale2x.h"
#include "scale3x.h"
#include "graphics/scaler/scale2x.h"
#include "graphics/scaler/scale3x.h"
#if defined(HAVE_ALLOCA_H)
#include <alloca.h>

View File

@ -19,9 +19,8 @@
* $Id$
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "common/stdafx.h"
#include "common/scummsys.h"
#ifdef USE_FLUIDSYNTH