]> git.eshelyaron.com Git - emacs.git/commitdiff
(USE_MAC_TOOLBAR): New define.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Thu, 14 Jun 2007 08:39:07 +0000 (08:39 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Thu, 14 Jun 2007 08:39:07 +0000 (08:39 +0000)
src/macgui.h

index 990765593e1ad66863f9c60209475dc65898d304..fb6f858c5475721d4ebc2876e4805792b5af2a2f 100644 (file)
@@ -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;