From 0991954c7f917ec652ad895e48e3234639255c0a Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 19 Sep 2010 11:22:37 +0200 Subject: [PATCH] winedbg: Fix the check for GCC version number around db_printf format checking. --- programs/winedbg/db_disasm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winedbg/db_disasm64.c b/programs/winedbg/db_disasm64.c index 7cf139419b3..fe6a538c0e2 100644 --- a/programs/winedbg/db_disasm64.c +++ b/programs/winedbg/db_disasm64.c @@ -32,7 +32,7 @@ #include #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, ...);