Gerald Pfeifer : winedbg: Fix the check for GCC version number around db_printf format checking.
Alexandre Julliard
julliard at winehq.org
Mon Sep 20 12:12:20 CDT 2010
Module: wine
Branch: master
Commit: 0991954c7f917ec652ad895e48e3234639255c0a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0991954c7f917ec652ad895e48e3234639255c0a
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sun Sep 19 11:22:37 2010 +0200
winedbg: Fix the check for GCC version number around db_printf format checking.
---
programs/winedbg/db_disasm64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/db_disasm64.c b/programs/winedbg/db_disasm64.c
index 7cf1394..fe6a538 100644
--- a/programs/winedbg/db_disasm64.c
+++ b/programs/winedbg/db_disasm64.c
@@ -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, ...);
More information about the wine-cvs
mailing list