diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-10-27 05:04:44 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-10-27 05:04:44 +0000 |
commit | 7bd447bae3deee8af8c6ddd46973d53db7e48c1c (patch) | |
tree | eb3392708740b879ecb1fe29445effc3e63f0387 /gdb/mac-xdep.c | |
parent | d5115c2bc66e51c00b49ee44adbbb8d32eeb60df (diff) | |
download | gdb-7bd447bae3deee8af8c6ddd46973d53db7e48c1c.zip gdb-7bd447bae3deee8af8c6ddd46973d53db7e48c1c.tar.gz gdb-7bd447bae3deee8af8c6ddd46973d53db7e48c1c.tar.bz2 |
* mpw-config.in: Add support for PowerMac host, add beginnings
of native support.
* mpw-make.sed: Disable subdir recursion, edit out useless rule.
* mac-xdep.c (Values.h): Don't include.
(GestaltEqu.h): Include Gestalt.h instead.
(do_mouse_down): Comment out control tracking, needs to be
updated to use UPP before will work on PowerMac.
Diffstat (limited to 'gdb/mac-xdep.c')
-rw-r--r-- | gdb/mac-xdep.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/mac-xdep.c b/gdb/mac-xdep.c index f217574..20a79a5 100644 --- a/gdb/mac-xdep.c +++ b/gdb/mac-xdep.c @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "readline.h" #include "history.h" -#include <Values.h> #include <Types.h> #include <Resources.h> #include <QuickDraw.h> @@ -45,7 +44,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <Packages.h> #include <Traps.h> #include <Lists.h> -#include <GestaltEqu.h> +#include <Gestalt.h> #include <PPCToolbox.h> #include <AppleEvents.h> #include <StandardFile.h> @@ -542,7 +541,13 @@ do_mouse_down (WindowPtr win, EventRecord *event) } break; default: +#if 0 /* don't deal with right now */ +#if 1 /* universal headers */ + value = TrackControl (control, mouse, (ControlActionUPP) v_scroll_proc); +#else value = TrackControl (control, mouse, (ProcPtr) v_scroll_proc); +#endif +#endif break; } } |