aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-22 10:25:50 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-22 10:25:50 +0000
commitcc21ec8124253913242f0c748126582f7eba5999 (patch)
tree2389a626b6b9742b36c48950765bf32ef9bf806d /simple_dialog.h
parent6287e86539fe79adfe1f9e2899c4fda749dc4b25 (diff)
Do __attribute__ stuff if the GCC version number is greater than or
equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... svn path=/trunk/; revision=3765
Diffstat (limited to 'simple_dialog.h')
-rw-r--r--simple_dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/simple_dialog.h b/simple_dialog.h
index f952c19940..2b248d2047 100644
--- a/simple_dialog.h
+++ b/simple_dialog.h
@@ -2,7 +2,7 @@
* Definitions for dialog box routines with toolkit-independent APIs but
* toolkit-dependent implementations.
*
- * $Id: simple_dialog.h,v 1.2 2000/10/09 06:38:34 guy Exp $
+ * $Id: simple_dialog.h,v 1.3 2001/07/22 10:25:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -44,7 +44,7 @@ extern "C" {
#define ESD_BTN_OK 0
#define ESD_BTN_CANCEL 1
-#if __GNUC__ == 2
+#if __GNUC__ >= 2
void simple_dialog(gint, gint *, gchar *, ...)
__attribute__((format (printf, 3, 4)));
#else