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
+3
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