gallium: fix build on GNU/kFreeBSD
[mesa.git] / src / gallium / auxiliary / rtasm / rtasm_execmem.c
index 3c4b0483ae82b958ce108193f16af797d7c67838..edc1b66e8363ed1a623230ee2a6c2e0dfc55101b 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "rtasm_execmem.h"
 
-#if defined(PIPE_OS_BSD)
+#ifndef MAP_ANONYMOUS
 #define MAP_ANONYMOUS MAP_ANON
 #endif