X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fctype%2Fisupper.c;h=9d45a746b3415192ddcb0f7fcb49128cfc57c3a7;hp=59539469d7c90601639c2d294fcd891b32ab892c;hb=d77b84be585e9ceaed1501579df5a4aec6a24a63;hpb=540e01a59a43ba091b3b221bf00f1ee7df8cdf1f diff --git a/functions/ctype/isupper.c b/functions/ctype/isupper.c index 5953946..9d45a74 100644 --- a/functions/ctype/isupper.c +++ b/functions/ctype/isupper.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int isupper( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_UPPER ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_UPPER ); } #endif