diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-03-25 16:45:35 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2002-03-25 16:45:35 +0000 |
commit | 3113a8521e77ff8925f756187b5c94d4333bc864 (patch) | |
tree | b298cd9b4d1fe9cff4ad3ac2ecadc8c9243b970a | |
parent | b221eb9e1632c2c9323f09799c958aa0650d479a (diff) | |
download | gdb-3113a8521e77ff8925f756187b5c94d4333bc864.tar.gz |
* generic/gdbtk.c (HAS_STDARG): Define.
* generic/gdbtk-cmds.c (HAS_STDARG): Likewise.
* generic/gdbtk-hooks.c (HAS_STDARG): Likewise.
-rw-r--r-- | gdb/gdbtk/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbtk/generic/gdbtk-cmds.c | 4 | ||||
-rw-r--r-- | gdb/gdbtk/generic/gdbtk-hooks.c | 4 | ||||
-rw-r--r-- | gdb/gdbtk/generic/gdbtk.c | 4 |
4 files changed, 18 insertions, 0 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index 6eaf8a934e5..e4319a94f6b 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,9 @@ +2002-03-25 Alexandre Oliva <aoliva@redhat.com> + + * generic/gdbtk.c (HAS_STDARG): Define. + * generic/gdbtk-cmds.c (HAS_STDARG): Likewise. + * generic/gdbtk-hooks.c (HAS_STDARG): Likewise. + 2002-03-14 Keith Seitz <keiths@redhat.com> * library/bpwin.itb (constructor): Set some sane initial diff --git a/gdb/gdbtk/generic/gdbtk-cmds.c b/gdb/gdbtk/generic/gdbtk-cmds.c index c24178b720b..44dd2d7ea7e 100644 --- a/gdb/gdbtk/generic/gdbtk-cmds.c +++ b/gdb/gdbtk/generic/gdbtk-cmds.c @@ -35,6 +35,10 @@ #include "top.h" #include "annotate.h" +/* tcl header files includes varargs.h unless HAS_STDARG is defined, + but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */ +#define HAS_STDARG 1 + #include <tix.h> #include <itcl.h> diff --git a/gdb/gdbtk/generic/gdbtk-hooks.c b/gdb/gdbtk/generic/gdbtk-hooks.c index fefdfc4acc5..3dcd81b378e 100644 --- a/gdb/gdbtk/generic/gdbtk-hooks.c +++ b/gdb/gdbtk/generic/gdbtk-hooks.c @@ -37,6 +37,10 @@ #include <windows.h> #endif +/* tcl header files includes varargs.h unless HAS_STDARG is defined, + but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */ +#define HAS_STDARG 1 + #include <itcl.h> #include <tix.h> #include "guitcl.h" diff --git a/gdb/gdbtk/generic/gdbtk.c b/gdb/gdbtk/generic/gdbtk.c index 1f42d14d35f..210c988f46b 100644 --- a/gdb/gdbtk/generic/gdbtk.c +++ b/gdb/gdbtk/generic/gdbtk.c @@ -38,6 +38,10 @@ #include <windows.h> #endif +/* tcl header files includes varargs.h unless HAS_STDARG is defined, + but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */ +#define HAS_STDARG 1 + #include <tix.h> #include <itcl.h> #include <itk.h> |