raze-gles/source/core/ns.h
Christoph Oelckers db21d5e946 - took all script exports out of the namespaces.
It looks like GCC cannot deal with this - on MSVC it works fine.
2020-10-10 10:11:22 +02:00

44 lines
676 B
C

#pragma once
#ifndef NO_NAMESPACE
#define BEGIN_DUKE_NS namespace Duke3d {
#define END_DUKE_NS }
#define BEGIN_EDUKE_NS namespace Duke {
#define END_EDUKE_NS }
#define BEGIN_RR_NS namespace Redneck {
#define END_RR_NS }
#define BEGIN_BLD_NS namespace Blood {
#define END_BLD_NS }
#define BEGIN_SW_NS namespace ShadowWarrior {
#define END_SW_NS }
#define BEGIN_PS_NS namespace Exhumed {
#define END_PS_NS }
#else
#define BEGIN_EDUKE_NS
#define END_EDUKE_NS
#define BEGIN_DUKE_NS
#define END_DUKE_NS
#define BEGIN_RR_NS
#define END_RR_NS
#define BEGIN_BLD_NS
#define END_BLD_NS
#define BEGIN_SW_NS
#define END_SW_NS
#define BEGIN_PS_NS
#define END_PS_NS
#endif