Compile fix for macOS.
This commit is contained in:
parent
939e2ae27e
commit
5d6cda446a
|
@ -54,9 +54,11 @@ class LuaControlDialog_t : public QDialog
|
|||
// Formatted print
|
||||
#ifdef WIN32
|
||||
int LuaPrintfToWindowConsole(_In_z_ _Printf_format_string_ const char* const format, ...) ;
|
||||
#else
|
||||
#elif __linux__
|
||||
int LuaPrintfToWindowConsole(const char *__restrict format, ...)
|
||||
__THROWNL __attribute__ ((__format__ (__printf__, 1, 2)));
|
||||
#else
|
||||
int LuaPrintfToWindowConsole(const char *__restrict format, ...) throw();
|
||||
#endif
|
||||
|
||||
void PrintToWindowConsole(intptr_t hDlgAsInt, const char* str);
|
||||
|
|
|
@ -191,8 +191,13 @@ void TaseditorDisableManualFunctionIfNeeded();
|
|||
|
||||
#else
|
||||
int LuaKillMessageBox(void);
|
||||
#ifdef __linux__
|
||||
int LuaPrintfToWindowConsole(const char *__restrict format, ...)
|
||||
__THROWNL __attribute__ ((__format__ (__printf__, 1, 2)));
|
||||
#else
|
||||
int LuaPrintfToWindowConsole(const char *__restrict format, ...) throw();
|
||||
#endif
|
||||
|
||||
#endif
|
||||
extern void PrintToWindowConsole(intptr_t hDlgAsInt, const char* str);
|
||||
extern void WinLuaOnStart(intptr_t hDlgAsInt);
|
||||
|
|
Loading…
Reference in New Issue