#include "vm/types.h"
-#include "mm/memory.h"
+#include "mm/memory.hpp"
#include "threads/thread.hpp"
void log_vprint(const char *text, va_list ap)
{
if (logfile)
- vfprintf(logfile, text, ap);
+ os::vfprintf(logfile, text, ap);
else
- vfprintf(stdout, text, ap);
+ os::vfprintf(stdout, text, ap);
}
* Emacs will automagically detect them.
* ---------------------------------------------------------------------
* Local variables:
- * mode: c
+ * mode: c++
* indent-tabs-mode: t
* c-basic-offset: 4
* tab-width: 4