travis test: workaround undefined _WIN32 with a sed fix

pull/1048/head
philsmd 7 years ago
parent 85aba06e6f
commit 0615affffa
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

@ -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

Loading…
Cancel
Save