From 02201c866bcffd36289e1b8a97e6bcc8f654c147 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Tue, 5 Feb 2013 19:40:43 -0800 Subject: [PATCH] Last piece of Windows support. YCM should now compile cleanly on MSVC. Fixes #19. --- cpp/ycm/ycm_core.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cpp/ycm/ycm_core.cpp b/cpp/ycm/ycm_core.cpp index 510c23ab..d55599b6 100644 --- a/cpp/ycm/ycm_core.cpp +++ b/cpp/ycm/ycm_core.cpp @@ -155,3 +155,10 @@ BOOST_PYTHON_MODULE(ycm_core) #endif // USE_CLANG_COMPLETER } + +// Boost.Thread forces us to implement this. +// We don't use any thread-specific (local) storage so it's fine to implement +// this as an empty function. +namespace boost { +void tss_cleanup_implemented() {} +};