+2005-01-16 Andreas Schwab <schwab@suse.de>
+
+ * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1.
+
2005-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning
/* Implementation of GUI terminal on the Mac OS.
- Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Emacs.
int nchars, mode, bytes_per_char;
{
SetPortWindowPort (w);
-#ifdef MAC_OSX
+#ifdef MAC_OS_X_VERSION_10_2
UInt32 textFlags, savedFlags;
if (!NILP(Vmac_use_core_graphics)) {
textFlags = kQDUseCGTextRendering;
MoveTo (x, y);
DrawText (buf, 0, nchars * bytes_per_char);
-#ifdef MAC_OSX
+#ifdef MAC_OS_X_VERSION_10_2
if (!NILP(Vmac_use_core_graphics))
SwapQDTextFlags(savedFlags);
#endif