]> OCCT Git - occt.git/commitdiff
0033391: Coding - Clearing old definition way for strcasecmp CR0-WEEK-22 CR0-WEEK-23 CR0-WEEK-24 IR-2023-06-02 IR-2023-06-16
authordpasukhi <dpasukhi@opencascade.com>
Mon, 22 May 2023 11:53:10 +0000 (12:53 +0100)
committerjokwajeb <john.okwajebi@opencascade.com>
Wed, 31 May 2023 19:17:31 +0000 (20:17 +0100)
Removed artifacts for strcasecmp definitions

src/BRepTest/BRepTest_FeatureCommands.cxx
src/BRepTest/BRepTest_SurfaceCommands.cxx
src/BRepTools/BRepTools_ShapeSet.cxx
src/GeometryTest/GeometryTest_SurfaceCommands.cxx
src/GeomliteTest/GeomliteTest_ModificationCommands.cxx
src/ViewerTest/ViewerTest_FilletCommands.cxx

index 102791e97b17b141c2a18bf1b16f2cc56c3a3d58..c5e7aaab6c11e7cf6b89cbc7b255d7f309d05266 100644 (file)
@@ -57,7 +57,6 @@
 #include <Precision.hxx>
 
 #ifdef _WIN32
-//#define strcasecmp _stricmp Already defined
 Standard_IMPORT Draw_Viewer dout;
 #endif
 
index 1ef3fd00da4a0384fd69a16c427e3db56372d676..52cc4f72e1e2e8d06e14cb18f9599a557d77ef8a 100644 (file)
 #include <GeomAPI_ProjectPointOnSurf.hxx>
 #include <Message.hxx>
 
-#ifdef _WIN32
-//#define strcasecmp strcmp Already defined
-#endif
-
 //-----------------------------------------------------------------------
 // suppressarg : suppress a[d],modifie na--
 //-----------------------------------------------------------------------
index 2251c4d9cbd4bfbcfaad4a8ed2932fac94cfb3ca..42fbe98fe211258fe12a5145f79706079b09d9a1 100644 (file)
@@ -14,8 +14,6 @@
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-// Modified:     Portage NT 7-5-97 DPF (strcasecmp)
-
 #include <BRep_Builder.hxx>
 #include <BRep_CurveOnClosedSurface.hxx>
 #include <BRep_CurveOnSurface.hxx>
 #include <TopoDS_Shape.hxx>
 #include <TopoDS_Vertex.hxx>
 
-#ifdef MacOS
-#define strcasecmp(p,q) strcmp(p,q)
-#elif _WIN32
-#define strcasecmp strcmp
-#elif AIX
-#include <string.h>
-#endif
-
 // Modified:    02 Nov 2000: BUC60769. JMB, PTV.  In order to be able to read BRep 
 //              files that came from a platform different from where CasCade 
 //              is run, we need the following modifications.
index b2809ce6fd6ffcd18d1d1efd934f3ac3ec887504..80431ddd740788b3e71572c2388bf8f38e67326e 100644 (file)
@@ -48,7 +48,6 @@
 
 #ifdef _MSC_VER
 #include <stdio.h>
-//#define strcasecmp strcmp Already defined
 #endif
 
 #ifdef _WIN32
index 0523f1e93d437e2e79ed61bbf3d7e445c39ba7d8..32d4ac3a76ec4d49dee40e9e2d47e69c5f0b0b60 100644 (file)
@@ -34,7 +34,6 @@
 
 #ifdef _MSC_VER
 #include <stdio.h>
-//#define strcasecmp strcmp Already defined
 #endif
 
 
index 2590c103c9eced035fa0033531c1f60b40d1f76a..03249ddc250a8abf2fdbbd8516560baa8b825d53 100644 (file)
@@ -34,7 +34,6 @@
 #include <AIS_Shape.hxx>
 
 #ifdef _WIN32
-//#define strcasecmp strcmp Already defined in Standard
 # include <stdio.h>
 #endif