chaoren created this revision. chaoren added reviewers: zturner, ovyalov. chaoren added a subscriber: lldb-commits.
http://reviews.llvm.org/D11967 Files: include/lldb/Host/windows/win32.h Index: include/lldb/Host/windows/win32.h =================================================================== --- include/lldb/Host/windows/win32.h +++ include/lldb/Host/windows/win32.h @@ -65,7 +65,8 @@ int strncasecmp(const char* s1, const char* s2, size_t n); #if _MSC_VER < 1900 -int snprintf(char *buffer, size_t count, const char *format, ...); +int __declspec(dllexport) +snprintf(char *buffer, size_t count, const char *format, ...); #endif #define STDIN_FILENO 0
Index: include/lldb/Host/windows/win32.h =================================================================== --- include/lldb/Host/windows/win32.h +++ include/lldb/Host/windows/win32.h @@ -65,7 +65,8 @@ int strncasecmp(const char* s1, const char* s2, size_t n); #if _MSC_VER < 1900 -int snprintf(char *buffer, size_t count, const char *format, ...); +int __declspec(dllexport) +snprintf(char *buffer, size_t count, const char *format, ...); #endif #define STDIN_FILENO 0
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits