File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 2626#include < cstdio>
2727#include < mutex>
2828
29- #ifdef __CYGWIN__
30- #include < cygwin/version.h>
31- #include < sys/cygwin.h>
32- #define _WIN32 1
33- #endif
34-
3529#ifdef _WIN32
3630#include < windows.h>
3731#elif defined(_AIX)
@@ -112,16 +106,6 @@ const std::string &CIndexer::getClangResourcesPath() {
112106 sizeof (mbi));
113107 GetModuleFileNameA ((HINSTANCE)mbi.AllocationBase , path, MAX_PATH);
114108
115- #ifdef __CYGWIN__
116- char w32path[MAX_PATH];
117- strcpy (w32path, path);
118- #if CYGWIN_VERSION_API_MAJOR > 0 || CYGWIN_VERSION_API_MINOR >= 181
119- cygwin_conv_path (CCP_WIN_A_TO_POSIX, w32path, path, MAX_PATH);
120- #else
121- cygwin_conv_to_full_posix_path (w32path, path);
122- #endif
123- #endif
124-
125109 LibClangPath += path;
126110#elif defined(_AIX)
127111 getClangResourcesPathImplAIX (LibClangPath);
You can’t perform that action at this time.
0 commit comments