diff --git a/cl_dll/aghl/agglobal.h b/cl_dll/aghl/agglobal.h index aa99db55..a041859e 100644 --- a/cl_dll/aghl/agglobal.h +++ b/cl_dll/aghl/agglobal.h @@ -18,8 +18,12 @@ #define NOWINRES #define NOIME #define _WIN32_WINNT 0x0400 +#ifdef _WIN32 #include - +#else +#include +#define MAX_PATH PATH_MAX +#endif #define _bool_h 1 #include #include diff --git a/cl_dll/cdll_int.cpp b/cl_dll/cdll_int.cpp index 014bda37..f2146b6e 100644 --- a/cl_dll/cdll_int.cpp +++ b/cl_dll/cdll_int.cpp @@ -22,7 +22,7 @@ #include "cl_util.h" #include "netadr.h" //++ BulliT -#include "agvariableChecker.h" +#include "agvariablechecker.h" #include "agglobal.h" //#include "irc.h" #include "agwallhack.h" diff --git a/dlls/squeakgrenade.cpp b/dlls/squeakgrenade.cpp index 648a4f9f..fd1746a5 100644 --- a/dlls/squeakgrenade.cpp +++ b/dlls/squeakgrenade.cpp @@ -118,7 +118,7 @@ void CSqueakGrenade::Spawn( void ) if( SGBOW == AgGametype() ) { //Spawn crossbow instead. - CBaseEntity *pNewWeapon = CBaseEntity::Create( "weapon_crossbow", g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner ); + //CBaseEntity *pNewWeapon = CBaseEntity::Create( "weapon_crossbow", g_pGameRules->VecWeaponRespawnSpot( this ), pev->angles, pev->owner ); return; } #endif diff --git a/dlls/teamplay_gamerules.h b/dlls/teamplay_gamerules.h index 8e2b4d31..6b2bcdca 100644 --- a/dlls/teamplay_gamerules.h +++ b/dlls/teamplay_gamerules.h @@ -62,3 +62,4 @@ private: BOOL m_teamLimit; // This means the server set only some teams as valid char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH]; }; +#endif diff --git a/ministl/defalloc.h b/ministl/defalloc.h index 3298b219..9d75b24c 100644 --- a/ministl/defalloc.h +++ b/ministl/defalloc.h @@ -72,12 +72,12 @@ static inline void destroy(long**, long**) {} static inline void destroy(unsigned long**, unsigned long**) {} static inline void destroy(float**, float**) {} static inline void destroy(double**, double**) {} - +/* #if defined (__GNUG__) static inline void *operator new(size_t, void *place) { return place; } static inline void *operator new[](size_t, void *place) { return place; } -#else -#include -#endif +#else*/ +#include +//#endif #endif