Skip to content

Instantly share code, notes, and snippets.

@fatso83
Created December 9, 2015 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatso83/9e48064296c337fd2978 to your computer and use it in GitHub Desktop.
Save fatso83/9e48064296c337fd2978 to your computer and use it in GitHub Desktop.
Patch to make YCM compile on Cygwin See ycm-core/YouCompleteMe#833
diff --git a/cpp/BoostParts/boost/python/detail/wrap_python.hpp b/cpp/BoostParts/boost/python/detail/wrap_python.hpp
index eaef784..6b367ce 100644
--- a/cpp/BoostParts/boost/python/detail/wrap_python.hpp
+++ b/cpp/BoostParts/boost/python/detail/wrap_python.hpp
@@ -82,7 +82,7 @@
// Some things we need in order to get Python.h to work with compilers other
// than MSVC on Win32
//
-#if defined(_WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32)
# if defined(__GNUC__) && defined(__CYGWIN__)
# define SIZEOF_LONG 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment