mirror of
https://github.com/ioquake/jedi-academy.git
synced 2025-02-10 14:20:36 +00:00
avoid including some bg_lib functions
This commit is contained in:
parent
0c24fcdbfb
commit
3dff5cdf52
1 changed files with 3 additions and 6 deletions
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
// this file is excluded from release builds because of intrinsics
|
// this file is excluded from release builds because of intrinsics
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
size_t strlen( const char *string ) {
|
size_t strlen( const char *string ) {
|
||||||
const char *s;
|
const char *s;
|
||||||
|
|
||||||
|
@ -78,15 +79,13 @@ char *strstr( const char *string, const char *strCharSet ) {
|
||||||
return (char *)0;
|
return (char *)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#if 0
|
||||||
|
|
||||||
int tolower( int c ) {
|
int tolower( int c ) {
|
||||||
if ( c >= 'A' && c <= 'Z' ) {
|
if ( c >= 'A' && c <= 'Z' ) {
|
||||||
c += 'a' - 'A';
|
c += 'a' - 'A';
|
||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int toupper( int c ) {
|
int toupper( int c ) {
|
||||||
|
@ -95,9 +94,7 @@ int toupper( int c ) {
|
||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
#endif // WIN32
|
||||||
//#ifndef _MSC_VER
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue