mesa: check for OpenBSD (bug 15604)

This commit is contained in:
Brian Paul
2008-07-09 07:48:46 -06:00
parent 75e4db1804
commit a2e435054c
+7 -1
View File
@@ -36,7 +36,7 @@
#if defined(__linux__)
#if defined(__linux__) || defined(__OpenBSD__)
/*
* Allocate a large block of memory which can hold code then dole it out
@@ -51,6 +51,12 @@
#include <selinux/selinux.h>
#endif
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif
#define EXEC_HEAP_SIZE (10*1024*1024)
_glthread_DECLARE_STATIC_MUTEX(exec_mutex);