]> 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 617a6686c2bba02091c77244b6f2f44542d326d7..f2105fe649972d95a094a1fb6abcc939178d4077 100644 (file)
@@ -1,9 +1,7 @@
-#include <osreldate.h>
+namespace factor {
 
-extern int getosreldate(void);
-
-#include <sys/sysctl.h>
-
-#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
+}