소스 검색

fix a visibility problem on msvc

Julius Pfrommer 10 년 전
부모
커밋
30fb5d5974
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);