Valloric/YouCompleteMe — pull request #833 by abhinav31415 (2014-02-15 22:41:29+00:00)
Title: Changes to make YCM installation on Cygwin easier.

Since you mentioned that you would entertain pull requests for Windows support (#684), could you take a look at this one. Made changes to install.sh and cpp/BoostParts/boost/python/detail/wrap_python.hpp to make the installation on Windows (via cygwin) easier.
I have tried to follow the coding style and other steps mentioned on CONTRIBUTING.md.
Testing: Couldn't actually write a test for this change, but I have it on Cygwin and Cygwin-64, and on Ubuntu (64-bit).
I have signed the Google CLA.

Updated install.sh allowing it to discover PYTHON_INCLUDE_DIR and PYTHON_LIBRARY

Also changed wrap_python.hpp to only check for defined(__CYGWIN__)
on 32-bit systems. Previously this check was OR'd with the check
for defined(__WIN32__) causing the system to erroneously update the
SIZEOF_LONG value and subsequently resulting in "make ycm_core"
failing with "LONG_BIT definition appears wrong for platform" on
CYGWIN-64 systems.