diff options
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r-- | client/x11/platform.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp index 02250f11..6f550135 100644 --- a/client/x11/platform.cpp +++ b/client/x11/platform.cpp @@ -268,6 +268,14 @@ void Platform::yield() pthread_yield(); } +void Platform::term_printf(const char* format, ...) +{ + va_list ap; + va_start(ap, format); + vprintf(format, ap); + va_end(ap); +} + void Platform::set_thread_priority(void* thread, Platform::ThreadPriority in_priority) { ASSERT(thread == NULL); |