debug: add a stub init for win32

This commit is contained in:
Danny Robson 2018-08-27 14:16:55 +10:00
parent 300ae9df73
commit e7cdb1322a

View File

@ -68,6 +68,11 @@ warn (const char *msg)
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#if defined(PLATFORM_WIN32)
// TODO: actually perform initialisation
void cruft::debug::init (void) { ; }
#endif
#if !defined(PLATFORM_WIN32) #if !defined(PLATFORM_WIN32)
void void
cruft::debug::init [[gnu::constructor]] (void) cruft::debug::init [[gnu::constructor]] (void)