changeset 81408:c5c3c338808a

(USE_MAC_TOOLBAR): New define.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Thu, 14 Jun 2007 08:39:07 +0000
parents 15029e786d85
children ffe8cf8ef14e
files src/macgui.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macgui.h	Thu Jun 14 08:38:52 2007 +0000
+++ b/src/macgui.h	Thu Jun 14 08:39:07 2007 +0000
@@ -117,6 +117,13 @@
 #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;