ddebug: add PIPE_OS_UNIX/LINUX checks to fix MSVC build
authorBrian Paul <brianp@vmware.com>
Fri, 13 Apr 2018 21:32:48 +0000 (15:32 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 14 Apr 2018 01:06:55 +0000 (19:06 -0600)
commit65d1040435005ea01c9e18d00f937d9be0a90839
tree19446f264bf3f26d4bfa5ae76b388c6070269dd4
parent6d41edbf8a352bd8c5e13a6e15073fb3a6e0e79e
ddebug: add PIPE_OS_UNIX/LINUX checks to fix MSVC build

Don't include Unix headers or use Unix functions when building with MSVC.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/driver_ddebug/dd_draw.c
src/gallium/auxiliary/driver_ddebug/dd_util.h