Re: [Lldb-commits] [PATCH] D11967: Export snprintf to avoid linking error with liblldb on Windows.

2015-08-11 Thread Zachary Turner via lldb-commits
You need to use LIBLLDB_API instead of __declspec(export). Otherwise someone linking against liblldb and trying to call this won't work correctly. Check the annotation given to the classes in the SB headers for the exact name of the macro. On Tue, Aug 11, 2015 at 6:23 PM Chaoren Lin

[Lldb-commits] [PATCH] D11967: Export snprintf to avoid linking error with liblldb on Windows.

2015-08-11 Thread Chaoren Lin via lldb-commits
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