diff options
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r-- | gdb/inf-ttrace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c index 1368961..ea0bacd 100644 --- a/gdb/inf-ttrace.c +++ b/gdb/inf-ttrace.c @@ -916,6 +916,7 @@ inf_ttrace_target (void) ttrace_ops_hack = t; return t; } +#endif /* Prevent warning from -Wmissing-prototypes. */ @@ -924,6 +925,7 @@ void _initialize_hppa_hpux_nat (void); void _initialize_inf_ttrace (void) { +#ifdef HAVE_TTRACE inf_ttrace_page_dict.pagesize = getpagesize(); -} #endif +} |