14 lines
620 B
Plaintext
14 lines
620 B
Plaintext
$OpenBSD: patch-CommonUtilitiesLib_StrPtrLen_h,v 1.1.1.1 2003/05/23 16:19:28 jakob Exp $
|
|
--- CommonUtilitiesLib/StrPtrLen.h.orig Sat Feb 22 00:42:11 2003
|
|
+++ CommonUtilitiesLib/StrPtrLen.h Mon Apr 7 16:50:42 2003
|
|
@@ -64,6 +64,9 @@ class StrPtrLen
|
|
Bool16 NumEqualIgnoreCase(const char* compare, const UInt32 len) const;
|
|
|
|
void Delete() { delete [] Ptr; Ptr = NULL; Len = 0; }
|
|
+#ifdef toupper
|
|
+#undef toupper
|
|
+#endif
|
|
char *ToUpper() { for (UInt32 x = 0; x < Len ; x++) Ptr[x] = ::toupper (Ptr[x]); return Ptr;}
|
|
|
|
char *FindStringCase(char *queryCharStr, StrPtrLen *resultStr, Bool16 caseSensitive) const;
|