]> gitweb.factorcode.org Git - factor.git/commitdiff
print_native_string doesn't need singleton ptr
authorPhil Dawes <phil@phildawes.net>
Mon, 24 Aug 2009 19:10:56 +0000 (20:10 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:17:27 +0000 (08:17 +0100)
vm/os-unix.hpp

index 52dc1bfd6ede9fcd72e5c6b635dc6d82c78bc75d..8aff18364e18bdefb5f0ac73bea5c82bc5022922 100644 (file)
@@ -40,7 +40,7 @@ typedef char symbol_char;
 #define OPEN_READ(path) fopen(path,"rb")
 #define OPEN_WRITE(path) fopen(path,"wb")
 
-#define print_native_string(string) vm->print_string(string)
+#define print_native_string(string) print_string(string)
 
 void start_thread(void *(*start_routine)(void *));