Browse Source

fix msc detection

Julius Pfrommer 9 years ago
parent
commit
436a4f6d41
1 changed files with 1 additions and 1 deletions
  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];