Common: Allow PRINTFLIKE to work on Clang

And thus clang-cl.
This commit is contained in:
Stenzek
2024-09-18 21:31:06 +10:00
parent 8ba85d62dc
commit 401295ebdb
3 changed files with 12 additions and 10 deletions

View File

@ -193,7 +193,7 @@ void DisassembleAndLog(u32 addr);
void DisassembleAndPrint(u32 addr, u32 instructions_before, u32 instructions_after);
// Write to CPU execution log file.
void WriteToExecutionLog(const char* format, ...) printflike(1, 2);
void WriteToExecutionLog(const char* format, ...) PRINTFLIKE(1, 2);
// Trace Routines
bool IsTraceEnabled();