cmake: Set a value for each portability define.
commit62ef6b0db8967e7021fd3e0b57d03ff164b984fe
authorVinson Lee <vlee@freedesktop.org>
Sat, 20 Jan 2018 07:40:24 +0000 (19 23:40 -0800)
committerVinson Lee <vlee@freedesktop.org>
Tue, 15 May 2018 23:53:59 +0000 (15 16:53 -0700)
tree998ba96a8a201cfaa324095e05d789b7defbff95
parent3ba0657bff4216d1ec7179935590261855f1651e
cmake: Set a value for each portability define.

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 <vlee@freedesktop.org>
tests/util/config.h.in