winedbg: Fix the check for GCC version number around db_printf format checking.
This commit is contained in:
parent
9941f846e8
commit
0991954c7f
|
@ -32,7 +32,7 @@
|
|||
#include <stdio.h>
|
||||
#include "debugger.h"
|
||||
|
||||
#if defined(__GNUC__) && (GCC_VERSION >= 30000)
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 3)
|
||||
static int (*db_printf)(const char* format, ...) __attribute__((format (printf,1,2)));
|
||||
#else
|
||||
static int (*db_printf)(const char* format, ...);
|
||||
|
|
Loading…
Reference in New Issue