From 841fb47f3b8bfff69626b6d7e91b93765e3c5942 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Thu, 14 Jun 2007 08:39:07 +0000 Subject: [PATCH] (USE_MAC_TOOLBAR): New define. --- src/macgui.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/macgui.h b/src/macgui.h index 990765593e1..fb6f858c547 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -117,6 +117,13 @@ typedef unsigned long Time; #endif #endif +/* Whether to use HIToolbar. */ +#ifndef USE_MAC_TOOLBAR +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 && MAC_OS_X_VERSION_MIN_REQUIRED != 1020 +#define USE_MAC_TOOLBAR 1 +#endif +#endif + typedef WindowRef Window; typedef GWorldPtr Pixmap; -- 2.39.2