gallium: fix build on GNU/kFreeBSD
Patch from Debian package Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
This commit is contained in:

committed by
Andreas Boll

parent
4f4da81dc8
commit
110009302b
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include "rtasm_execmem.h"
|
#include "rtasm_execmem.h"
|
||||||
|
|
||||||
#if defined(PIPE_OS_BSD)
|
#ifndef MAP_ANONYMOUS
|
||||||
#define MAP_ANONYMOUS MAP_ANON
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -190,7 +190,7 @@
|
|||||||
#define PIPE_OS_ANDROID
|
#define PIPE_OS_ANDROID
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
#define PIPE_OS_FREEBSD
|
#define PIPE_OS_FREEBSD
|
||||||
#define PIPE_OS_BSD
|
#define PIPE_OS_BSD
|
||||||
#define PIPE_OS_UNIX
|
#define PIPE_OS_UNIX
|
||||||
|
Reference in New Issue
Block a user