sample/bf: use mprotect() on other POSIX systems as well by Jan Beich
diff --git a/sample/bf.cpp b/sample/bf.cpp
index 0c2a192..c536bd7 100644
--- a/sample/bf.cpp
+++ b/sample/bf.cpp
@@ -158,12 +158,12 @@
 		printf("0x%02x,", code[i]); if ((i % 16) == 15) putchar('\n');
 	}
 	puts("\n};");
-#ifdef __linux__
+#ifndef _MSC_VER
 	puts("#include <unistd.h>");
 	puts("#include <sys/mman.h>");
 #endif
 	puts("main()\n{");
-#ifdef __linux__
+#ifndef _MSC_VER
 	puts("\tlong pageSize = sysconf(_SC_PAGESIZE) - 1;");
 	puts("\tmprotect((void*)code, (sizeof(code) + pageSize) & ~pageSize, PROT_READ | PROT_EXEC);");
 #endif