fixed linux build
authorDavid Anderson <dvander@alliedmods.net>
Sun Mar 11 18:37:55 2007 +0000 (2007-03-11)
changeset 59620a01c05806d
parent 595 1d8e56a119f2
child 597 2309b109e2af
fixed linux build
core/Makefile
core/vm/sp_vm_function.cpp
     1.1 --- a/core/Makefile	Sun Mar 11 18:30:29 2007 +0000
     1.2 +++ b/core/Makefile	Sun Mar 11 18:37:55 2007 +0000
     1.3 @@ -20,8 +20,7 @@
     1.4  HL2LIB = $(HL2SDK)/linux_sdk
     1.5  
     1.6  OBJECTS = sourcemm_api.cpp sourcemod.cpp AdminCache.cpp ConVarManager.cpp CDataPack.cpp \
     1.7 -          CDbgReporter.cpp CLogger.cpp CPlayerManager.cpp CTextParsers.cpp CTranslator.cpp \
     1.8 -	  ConCmdManager.cpp \
     1.9 +          DebugReporter.cpp Logger.cpp PlayerManager.cpp TextParsers.cpp Translator.cpp \
    1.10  	  sm_autonatives.cpp sm_memtable.cpp sm_srvcmds.cpp sm_trie.cpp \
    1.11  	  sm_stringutil.cpp smn_filesystem.cpp smn_float.cpp smn_handles.cpp \
    1.12  	  smn_player.cpp smn_string.cpp smn_textparse.cpp smn_console.cpp smn_admin.cpp \
    1.13 @@ -29,7 +28,7 @@
    1.14  	  systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \
    1.15  	  systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp \
    1.16  	  systems/PluginSys.cpp systems/ShareSys.cpp vm/sp_vm_basecontext.cpp \
    1.17 -	  vm/sp_vm_engine.cpp vm/sp_vm_function.cpp
    1.18 +	  vm/sp_vm_engine.cpp vm/sp_vm_function.cpp ConCmdManager.cpp TimerSys.cpp 
    1.19  OBJECTS_C = zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/gzio.c \
    1.20  	   zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \
    1.21  	   zlib/uncompr.c zlib/zutil.c
     2.1 --- a/core/vm/sp_vm_function.cpp	Sun Mar 11 18:30:29 2007 +0000
     2.2 +++ b/core/vm/sp_vm_function.cpp	Sun Mar 11 18:37:55 2007 +0000
     2.3 @@ -139,7 +139,6 @@
     2.4  	}
     2.5  
     2.6  	ParamInfo *info = &m_info[m_curparam];
     2.7 -	size_t cells = (len + sizeof(cell_t) - 1) / sizeof(cell_t);
     2.8  
     2.9  	info->marked = true;
    2.10  	info->orig_addr = (cell_t *)string;