0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
[occt.git] / src / STEPConstruct / STEPConstruct_AP203Context.cxx
index ce615a0..d57da3a 100644 (file)
@@ -164,7 +164,7 @@ Handle(StepBasic_PersonAndOrganization) STEPConstruct_AP203Context::DefaultPerso
 {
   if ( defPersonAndOrganization.IsNull() ) {
     // get IP address as a unique id of organization
-#ifdef WNT // adapted for NT which lacks gethostent()
+#ifdef _WIN32 // adapted for NT which lacks gethostent()
     char hostname[1024];
     hostname[0] = '\0';
     gethostname ( hostname, 1020 );