avoid including some bg_lib functions

This commit is contained in:
Jonathan Gray 2013-04-22 21:01:05 +10:00
parent 0c24fcdbfb
commit 3dff5cdf52

View file

@ -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