summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlair Sadewitz <blair.sadewitz.gmail.com>2008-07-14 08:15:10 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-14 08:15:10 -0600
commita63b90712aad81d544eb8931493a6c4a7805f7fb (patch)
tree3877bc05840bba7195e7cf8a4efee1835cc715e1
parent62db707a3dd4bf821b189e937fa133009007a2b5 (diff)
downloadexternal_mesa3d-a63b90712aad81d544eb8931493a6c4a7805f7fb.zip
external_mesa3d-a63b90712aad81d544eb8931493a6c4a7805f7fb.tar.gz
external_mesa3d-a63b90712aad81d544eb8931493a6c4a7805f7fb.tar.bz2
mesa: also check for __NetBSD__
-rw-r--r--src/mesa/main/execmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index 0719d00..f95c318 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -36,7 +36,7 @@
-#if defined(__linux__) || defined(__OpenBSD__)
+#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__)
/*
* Allocate a large block of memory which can hold code then dole it out