projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9971ac
)
Export snprintf to avoid linking error with liblldb on Windows.
author
Chaoren Lin
<chaorenl@google.com>
Wed, 12 Aug 2015 01:22:24 +0000
(
01:22
+0000)
committer
Chaoren Lin
<chaorenl@google.com>
Wed, 12 Aug 2015 01:22:24 +0000
(
01:22
+0000)
Reviewers: zturner, ovyalov
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11967
llvm-svn: 244710
lldb/include/lldb/Host/windows/win32.h
patch
|
blob
|
history
diff --git
a/lldb/include/lldb/Host/windows/win32.h
b/lldb/include/lldb/Host/windows/win32.h
index
4c9c7f9
..
6a8c9b7
100644
(file)
--- a/
lldb/include/lldb/Host/windows/win32.h
+++ b/
lldb/include/lldb/Host/windows/win32.h
@@
-65,7
+65,8
@@
int strcasecmp(const char* s1, const char* s2);
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