Include config.h only from PlatformAbstraction.h

In order to avoid duplication, PlatformAbstraction.h has to be included at
the start of every source file, so that various headers can rely on it
being there. To avoid confusion, always rely on that, instead of sometimes
randomly including it or parts of it again.
shapetextures
Günther Brammer 2015-12-28 15:18:36 +01:00
parent f07038d3ac
commit 6a53066c36
3 changed files with 0 additions and 8 deletions

View File

@ -1,5 +1,3 @@
#ifndef CONFIG_H_INC
#define CONFIG_H_INC
/* Generate minidumps on crash */
#cmakedefine HAVE_DBGHELP 1
@ -140,5 +138,3 @@
#define AUDIO_TK AUDIO_TK_NONE
#endif
#endif

View File

@ -18,8 +18,6 @@
#ifndef INC_C4UpdateDialogs
#define INC_C4UpdateDialogs
#include "PlatformAbstraction.h"
#ifdef WITH_AUTOMATIC_UPDATE
#include "C4Gui.h"

View File

@ -16,8 +16,6 @@
#ifndef INC_make_unique
#define INC_make_unique
#include "config.h"
// C++14 std::make_unique
#include <memory>
#include <utility>