Explorar o código

fix a visibility problem on msvc

Julius Pfrommer %!s(int64=10) %!d(string=hai) anos
pai
achega
30fb5d5974
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/ua_log.h

+ 1 - 1
include/ua_log.h

@@ -40,7 +40,7 @@ typedef enum UA_LoggerCategory {
     UA_LOGGERCATEGORY_USERLAND
 } UA_LoggerCategory;
 
-extern const char *UA_LoggerCategoryNames[5];
+extern UA_EXPORT const char *UA_LoggerCategoryNames[5];
 
 typedef struct UA_Logger {
     void (*log_trace)(UA_LoggerCategory category, const char *msg);