ctype_workaround.h

Go to the documentation of this file.
00001 
00033 #ifndef _CTYPE_WORKAROUND_H_
00034 #define _CTYPE_WORKAROUND_H_
00035 
00044 #include <cctype>
00045 
00046 __const unsigned short int *__ctype_b;
00047 __const __int32_t *__ctype_tolower;
00048 __const __int32_t *__ctype_toupper;
00049 
00050 // call this function at the beginning of main() 
00051 void ctype_workaround()
00052 {
00053         __ctype_b = *(__ctype_b_loc());
00054         __ctype_toupper = *(__ctype_toupper_loc());
00055         __ctype_tolower = *(__ctype_tolower_loc());
00056 }
00057 
00058 #endif
00059 

Generated on Thu Jul 1 06:08:17 2010 for Second Life Viewer by  doxygen 1.4.7