winedbg: Fix the check for GCC version number around db_printf format checking.

oldstable
Gerald Pfeifer 2010-09-19 11:22:37 +02:00 committed by Alexandre Julliard
parent 9941f846e8
commit 0991954c7f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#include <stdio.h> #include <stdio.h>
#include "debugger.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))); static int (*db_printf)(const char* format, ...) __attribute__((format (printf,1,2)));
#else #else
static int (*db_printf)(const char* format, ...); static int (*db_printf)(const char* format, ...);