mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Fix compilation.
This commit is contained in:
parent
2117d03aba
commit
2073b36392
3
wscript
3
wscript
@ -62,6 +62,9 @@ if sys.platform == 'win32':
|
||||
err = ctypes.WinError()
|
||||
raise err
|
||||
os.symlink = symlink
|
||||
elif sys.version_info.major < 3:
|
||||
os_symlink_bak = os.symlink
|
||||
os.symlink = lambda src, dst, target_is_directory=False: os_symlink_bak(src, dst)
|
||||
|
||||
# There is a null pointer dereference issue in tools/libclang/CXIndexDataConsumer.cpp handleReference.
|
||||
def patch_byte_in_libclang(filename, offset, old, new):
|
||||
|
Loading…
Reference in New Issue
Block a user