]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-freebsd.hpp
io.streams.256color: faster by caching styles
[factor.git] / vm / os-freebsd.hpp
index 7797a7199b9c44545aaf43e8e112a923fec5711e..f2105fe649972d95a094a1fb6abcc939178d4077 100644 (file)
@@ -1,8 +1,7 @@
-#include <osreldate.h>
-#include <sys/sysctl.h>
+namespace factor {
 
-extern "C" int getosreldate();
-
-#ifndef KERN_PROC_PATHNAME
-#define KERN_PROC_PATHNAME 12
-#endif
+#define CODE_TO_FUNCTION_POINTER(code) (void)0
+#define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
+#define FUNCTION_CODE_POINTER(ptr) ptr
+#define FUNCTION_TOC_POINTER(ptr) ptr
+}