diff --git a/include/common.h b/include/common.h index 8cd2ced..de8bc56 100644 --- a/include/common.h +++ b/include/common.h @@ -145,8 +145,14 @@ void MSG_ReadDeltaUsercmd (struct usercmd_s *from, struct usercmd_s *cmd); #ifdef _WIN32 +#ifdef __BORLANDC__ +#define Q_strcasecmp(s1, s2) stricmp((s1), (s2)) +#define Q_strncasecmp(s1, s2, n) strnicmp((s1), (s2), (n)) + +#else #define Q_strcasecmp(s1, s2) _stricmp((s1), (s2)) #define Q_strncasecmp(s1, s2, n) _strnicmp((s1), (s2), (n)) +#endif #else diff --git a/include/d_local.h b/include/d_local.h index af92489..293c507 100644 --- a/include/d_local.h +++ b/include/d_local.h @@ -66,8 +66,8 @@ extern float d_sdivzstepu, d_tdivzstepu, d_zistepu; extern float d_sdivzstepv, d_tdivzstepv, d_zistepv; extern float d_sdivzorigin, d_tdivzorigin, d_ziorigin; -fixed16_t sadjust, tadjust; -fixed16_t bbextents, bbextentt; +extern fixed16_t sadjust, tadjust; +extern fixed16_t bbextents, bbextentt; void D_DrawSpans8 (espan_t *pspans);