cleaned up posix makefile
This commit is contained in:
parent
7081075d24
commit
8155d08769
7 changed files with 142 additions and 117 deletions
|
|
@ -225,17 +225,6 @@ static inline void STOP_SOUND (edict_t *entity, int channel, const char *sample)
|
|||
EMIT_SOUND_DYN (entity, channel, sample, 0, 0, SND_STOP, PITCH_NORM);
|
||||
}
|
||||
|
||||
/// ///
|
||||
// Bot Additions //
|
||||
/// ///
|
||||
|
||||
// removes linker warning when using msvcrt library
|
||||
#if defined ( _MSC_VER )
|
||||
#define stricmp _stricmp
|
||||
#define unlink _unlink
|
||||
#define mkdir _mkdir
|
||||
#endif
|
||||
|
||||
// macro to handle memory allocation fails
|
||||
#define TerminateOnMalloc() \
|
||||
AddLogEntry (true, LL_FATAL, "Memory Allocation Fail!\nFile: %s (Line: %d)", __FILE__, __LINE__) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue