Pārlūkot izejas kodu

fix msc detection

Julius Pfrommer 9 gadi atpakaļ
vecāks
revīzija
436a4f6d41
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/server/ua_services_attribute.c

+ 1 - 1
src/server/ua_services_attribute.c

@@ -15,7 +15,7 @@ static
 UA_StatusCode parse_numericrange(const UA_String str, UA_NumericRange *range) {
     if(str.length < 0 || str.length >= 1023)
         return UA_STATUSCODE_BADINTERNALERROR;
-#ifdef _MSVC_VER
+#ifdef _MSC_VER
     char *cstring = (char*)UA_alloca(sizeof(char)*str.length+1);
 #else
     char cstring[str.length+1];