• Vinson Lee's avatar
    cmake: Set a value for each portability define. · 62ef6b0d
    Vinson Lee authored
    Fix macOS 10.13 build error with HAVE_UNISTD_H having no value.
    
    In file included from tests/util/piglit-util-cl.c:26:
    In file included from tests/util/piglit-util-cl.h:29:
    In file included from tests/util/piglit-util-cl-enum.h:34:
    In file included from /System/Library/Frameworks/OpenCL.framework/Headers/opencl.h:16:
    In file included from /System/Library/Frameworks/OpenCL.framework/Headers/gcl.h:23:
    /usr/include/dispatch/dispatch.h:38:45: error: expected value in expression
    #if !defined(HAVE_UNISTD_H) || HAVE_UNISTD_H
                                                ^
    Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
    62ef6b0d
Name
Last commit
Last update
ci/appveyor Loading commit data...
cmake Loading commit data...
completions/bash Loading commit data...
docker Loading commit data...
examples/glsl_parser_test Loading commit data...
framework Loading commit data...
generated_tests Loading commit data...
licences Loading commit data...
registry Loading commit data...
self-tests Loading commit data...
src Loading commit data...
templates Loading commit data...
tests Loading commit data...
unittests Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
TODO Loading commit data...
appveyor.yml Loading commit data...
piglit Loading commit data...
piglit-print-commands.py Loading commit data...
piglit-resume.py Loading commit data...
piglit-run.py Loading commit data...
piglit-summary-html.py Loading commit data...
piglit-summary.py Loading commit data...
piglit.conf.example Loading commit data...
tox.ini Loading commit data...