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 26
26
#include < cstdio>
27
27
#include < mutex>
28
28
29
- #ifdef __CYGWIN__
30
- #include < cygwin/version.h>
31
- #include < sys/cygwin.h>
32
- #define _WIN32 1
33
- #endif
34
-
35
29
#ifdef _WIN32
36
30
#include < windows.h>
37
31
#elif defined(_AIX)
@@ -112,16 +106,6 @@ const std::string &CIndexer::getClangResourcesPath() {
112
106
sizeof (mbi));
113
107
GetModuleFileNameA ((HINSTANCE)mbi.AllocationBase , path, MAX_PATH);
114
108
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
-
125
109
LibClangPath += path;
126
110
#elif defined(_AIX)
127
111
getClangResourcesPathImplAIX (LibClangPath);
You can’t perform that action at this time.
0 commit comments