mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 06:03:07 +00:00
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 a new issue