forked from Mirrors/openclonk
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
parent
f07038d3ac
commit
6a53066c36
|
@ -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
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#ifndef INC_C4UpdateDialogs
|
||||
#define INC_C4UpdateDialogs
|
||||
|
||||
#include "PlatformAbstraction.h"
|
||||
|
||||
#ifdef WITH_AUTOMATIC_UPDATE
|
||||
|
||||
#include "C4Gui.h"
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
#ifndef INC_make_unique
|
||||
#define INC_make_unique
|
||||
|
||||
#include "config.h"
|
||||
|
||||
// C++14 std::make_unique
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
|
Loading…
Reference in New Issue