1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

travis test: workaround undefined _WIN32 with a sed fix

This commit is contained in:
philsmd 2017-02-11 13:18:38 +01:00
parent 85aba06e6f
commit 0615affffa
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -1,3 +1,6 @@
# this is a workaround because some OpenCL headers cause problems with older gcc compilers (undefined macro: _WIN32)
before_install:
- sed -i 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h
os:
- linux
- osx