Build fix.

This commit is contained in:
Nicholas Hastings 2013-02-08 00:00:09 -05:00
parent 7ff4724e28
commit 230e4e3a32
3 changed files with 3 additions and 12 deletions

View File

@ -7,8 +7,7 @@ for i in SM.sdkInfo:
continue
compiler = SM.DefaultHL2Compiler('extensions/sdkhooks', i)
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'public', 'jit'))
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'public', 'jit', 'x86'))
compiler['CXXINCLUDES'].append(os.path.join(AMBuild.cache[sdk['sdk']], 'game', 'shared'))
if compiler.cc.name == 'gcc' or compiler.cc.name == 'clang':
compiler['CFLAGS'].append('-Wno-parentheses')

View File

@ -32,8 +32,6 @@
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
#define _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
#include "version.h"
/**
* @file smsdk_config.h
* @brief Contains macros for configuring basic extension information.

View File

@ -50,15 +50,9 @@
#define _DEBUG 1
#endif
#include <server_class.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>
class CTakeDamageInfoHack : public CTakeDamageInfo