We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 595cce4 commit 1518bf5Copy full SHA for 1518bf5
clang/tools/libclang/CIndexer.cpp
@@ -29,7 +29,6 @@
29
#ifdef __CYGWIN__
30
#include <cygwin/version.h>
31
#include <sys/cygwin.h>
32
-#define _WIN32 1
33
#endif
34
35
#ifdef _WIN32
@@ -112,16 +111,6 @@ const std::string &CIndexer::getClangResourcesPath() {
112
111
sizeof(mbi));
113
GetModuleFileNameA((HINSTANCE)mbi.AllocationBase, path, MAX_PATH);
114
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
124
-
125
LibClangPath += path;
126
#elif defined(_AIX)
127
getClangResourcesPathImplAIX(LibClangPath);
0 commit comments