From: YAMAMOTO Mitsuharu Date: Thu, 14 Jun 2007 08:39:07 +0000 (+0000) Subject: (USE_MAC_TOOLBAR): New define. X-Git-Tag: emacs-pretest-23.0.90~12279 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=841fb47f3b8bfff69626b6d7e91b93765e3c5942;p=emacs.git (USE_MAC_TOOLBAR): New define. --- 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;