]> git.eshelyaron.com Git - emacs.git/commitdiff
(USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 7 May 2006 08:05:19 +0000 (08:05 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 7 May 2006 08:05:19 +0000 (08:05 +0000)
and build is done on Mac OS X 10.2 and later.

src/macgui.h

index 579ae2b7663096b0267beb4a86d3497e2dc0ddf5..f7005600d4303f9aed7a3fc0595522f45b91f612 100644 (file)
@@ -103,6 +103,13 @@ typedef unsigned long Time;
 #endif
 #endif
 
+/* Whether to use the standard Font Panel floating dialog.  */
+#ifndef USE_MAC_FONT_PANEL
+#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1020
+#define USE_MAC_FONT_PANEL 1
+#endif
+#endif
+
 typedef WindowPtr Window;
 typedef GWorldPtr Pixmap;