Build fix.
This commit is contained in:
parent
7ff4724e28
commit
230e4e3a32
@ -7,8 +7,7 @@ for i in SM.sdkInfo:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
compiler = SM.DefaultHL2Compiler('extensions/sdkhooks', i)
|
compiler = SM.DefaultHL2Compiler('extensions/sdkhooks', i)
|
||||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'public', 'jit'))
|
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache[sdk['sdk']], 'game', 'shared'))
|
||||||
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'public', 'jit', 'x86'))
|
|
||||||
|
|
||||||
if compiler.cc.name == 'gcc' or compiler.cc.name == 'clang':
|
if compiler.cc.name == 'gcc' or compiler.cc.name == 'clang':
|
||||||
compiler['CFLAGS'].append('-Wno-parentheses')
|
compiler['CFLAGS'].append('-Wno-parentheses')
|
||||||
|
@ -32,8 +32,6 @@
|
|||||||
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
|
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
|
||||||
#define _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
|
#define _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
|
||||||
|
|
||||||
#include "version.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file smsdk_config.h
|
* @file smsdk_config.h
|
||||||
* @brief Contains macros for configuring basic extension information.
|
* @brief Contains macros for configuring basic extension information.
|
||||||
|
@ -50,15 +50,9 @@
|
|||||||
#define _DEBUG 1
|
#define _DEBUG 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <server_class.h>
|
||||||
|
|
||||||
#include <shareddefs.h>
|
#include <shareddefs.h>
|
||||||
|
|
||||||
// Hack to server sdk util.h rather than project util.h
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
|
||||||
#include <../game/server/util.h>
|
|
||||||
#else
|
|
||||||
#include <../dlls/util.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <takedamageinfo.h>
|
#include <takedamageinfo.h>
|
||||||
|
|
||||||
class CTakeDamageInfoHack : public CTakeDamageInfo
|
class CTakeDamageInfoHack : public CTakeDamageInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user