diff options
author | Andreas Schwab <schwab@suse.de> | 2005-01-16 16:18:12 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2005-01-16 16:18:12 +0000 |
commit | fc2ff44b4732cc4a2e6d1c293d5531a4723dc0e8 (patch) | |
tree | 337b4dfa1c751cd6af3bd06737de75a4bbb2e4a1 /src/macterm.c | |
parent | 01917a18b40405b2cb7eaf279e8db13875c9c5be (diff) | |
download | emacs-fc2ff44b4732cc4a2e6d1c293d5531a4723dc0e8.tar.gz |
(mac_draw_string_common): Fix compilation on OSX 10.1.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macterm.c b/src/macterm.c index 11ec9166832..ae2555ae286 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -1,5 +1,5 @@ /* 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. @@ -729,7 +729,7 @@ mac_draw_string_common (display, w, gc, x, y, buf, nchars, mode, 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; @@ -746,7 +746,7 @@ mac_draw_string_common (display, w, gc, x, y, buf, nchars, mode, 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 |