From c2c5ec1d540b05b57d617755e76a78af9b4799ad Mon Sep 17 00:00:00 2001
From: "Unknown (roddey)" <dev-null@apache.org>
Date: Tue, 25 Jan 2000 23:14:19 +0000
Subject: [PATCH] Borland does not support wcsupr(), but does support
 _wcsupr(). Since VC++ does also, _wcsupr() was used in order to have the both
 work with the same transcoding code.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@171660 13f79535-47bb-0310-9956-ffa450edef68
---
 src/util/Transcoders/Win32/Win32TransService.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/util/Transcoders/Win32/Win32TransService.cpp b/src/util/Transcoders/Win32/Win32TransService.cpp
index 4f4faab45..1066440bb 100644
--- a/src/util/Transcoders/Win32/Win32TransService.cpp
+++ b/src/util/Transcoders/Win32/Win32TransService.cpp
@@ -56,6 +56,10 @@
 
 /**
  * $Log$
+ * Revision 1.7  2000/01/25 23:14:19  roddey
+ * Borland does not support wcsupr(), but does support _wcsupr(). Since VC++ does also,
+ * _wcsupr() was used in order to have the both work with the same transcoding code.
+ *
  * Revision 1.6  2000/01/25 22:49:58  roddey
  * Moved the supportsSrcOfs() method from the individual transcoder to the
  * transcoding service, where it should have been to begin with.
@@ -161,7 +165,7 @@ bool Win32TransService::supportsSrcOfs() const
 
 void Win32TransService::upperCase(XMLCh* const toUpperCase) const
 {
-    wcsupr(toUpperCase);
+    _wcsupr(toUpperCase);
 }
 
 
-- 
GitLab