Mercurial > emacs
annotate src/s/aix4-1.h @ 80456:04e1df7268f0
(FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y):
Move to mactoolbox.c.
(HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Change to 15.
(Fx_selection_owner_p): Add EXFUN.
(install_window_handler, remove_window_handler, XSetWindowBackground):
Remove externs.
(do_apple_menu) [!TARGET_API_MAC_CARBON]: Likewise.
(mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise.
(x_raise_frame, x_lower_frame, mac_alert_sound_play)
(install_application_handler, mac_get_frame_bounds, mac_get_frame_mouse)
(mac_convert_frame_point_to_global, mac_set_frame_window_background)
(mac_update_begin mac_update_end, mac_frame_up_to_date, x_flush)
(mac_create_frame_window, mac_dispose_frame_window, mac_begin_clip)
(mac_end_clip, mac_create_scroll_bar, mac_dispose_scroll_bar)
(mac_set_scroll_bar_bounds, mac_redraw_scroll_bar, mac_fill_menubar)
(create_and_show_popup_menu, mac_get_selection_from_symbol)
(mac_valid_selection_target_p, mac_clear_selection)
(mac_get_selection_ownership_info, mac_valid_selection_value_p)
(mac_put_selection_value, mac_selection_has_target_p)
(mac_get_selection_value, mac_get_selection_target_list): Add externs.
(mac_update_proxy_icon, mac_show_hourglass, mac_hide_hourglass)
(mac_reposition_hourglass, mac_file_dialog, create_and_show_dialog)
(mac_dnd_default_known_types) [TARGET_API_MAC_CARBON]: Likewise.
(mac_run_loop_run_once) [MAC_OSX]: Likewise.
(mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise.
(mac_begin_cg_clip, mac_end_cg_clip) [USE_CG_DRAWING]: Likewise.
(x_set_toolkit_scroll_bar_thumb) [!USE_TOOLKIT_SCROLL_BARS]: Likewise.
(x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Likewise.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 06 Apr 2008 01:59:20 +0000 |
parents | 68df465b9550 |
children | 606f2d163a64 1f134b61867c |
rev | line source |
---|---|
75962
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
1 /* |
79756 | 2 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
75962
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
3 Free Software Foundation, Inc. |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
4 |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
5 This file is part of GNU Emacs. |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
6 |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
7 GNU Emacs is free software; you can redistribute it and/or modify |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
8 it under the terms of the GNU General Public License as published by |
78259
f06998349cfc
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75962
diff
changeset
|
9 the Free Software Foundation; either version 3, or (at your option) |
75962
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
10 any later version. |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
11 |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
12 GNU Emacs is distributed in the hope that it will be useful, |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
15 GNU General Public License for more details. |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
16 |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
18 along with GNU Emacs; see the file COPYING. If not, write to |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
20 Boston, MA 02110-1301, USA. */ |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
21 |
920f6d87d9e6
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
22 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
25339
diff
changeset
|
23 #define AIX4_1 |
10151 | 24 |
25 #include "aix4.h" | |
10212
f13745ca9b4e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
10151
diff
changeset
|
26 |
12414 | 27 /* olson@mcs.anl.gov says -li18n is needed by -lXm. */ |
14187
fb0b99d7038e
(X11R5_INHIBIT_I18N): Add undef.
Richard M. Stallman <rms@gnu.org>
parents:
12902
diff
changeset
|
28 #undef LIB_MOTIF |
12414 | 29 #define LIB_MOTIF -lXm -li18n |
12462
5b4022385032
(sigsetmask): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
12414
diff
changeset
|
30 |
12902
a94cc53e1f04
(sigsetmask, _setjmp, _longjmp): Delete undefs.
Richard M. Stallman <rms@gnu.org>
parents:
12536
diff
changeset
|
31 #ifdef __GNUC__ |
a94cc53e1f04
(sigsetmask, _setjmp, _longjmp): Delete undefs.
Richard M. Stallman <rms@gnu.org>
parents:
12536
diff
changeset
|
32 #undef _NO_PROTO |
a94cc53e1f04
(sigsetmask, _setjmp, _longjmp): Delete undefs.
Richard M. Stallman <rms@gnu.org>
parents:
12536
diff
changeset
|
33 #endif |
14187
fb0b99d7038e
(X11R5_INHIBIT_I18N): Add undef.
Richard M. Stallman <rms@gnu.org>
parents:
12902
diff
changeset
|
34 |
14619
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
35 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
36 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
37 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu. |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
38 4.1 seems to need -g again. -- larry@vaquita.mitra.com. */ |
14833 | 39 /* David Edelsohn <dje@watson.ibm.com> says that this actually depends |
40 on the version of XLC, which can't be predicted from the system version. | |
41 What a mess! */ | |
25339 | 42 /* No more of a mess than other systems, GNU+GCC included. See |
43 comments in aix3-2-5.h. -- fx */ | |
44 #if 0 | |
14619
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
45 #ifndef __GNUC__ |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
46 #undef C_DEBUG_SWITCH |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
47 #undef C_OPTIMIZE_SWITCH |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
48 #define C_DEBUG_SWITCH -g |
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
49 #endif |
25339 | 50 #endif |
14619
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
51 |
14744 | 52 /* The X internationalization stuff is still broken in AIX 4.1, so |
53 don't #undef X11R5_INHIBIT_I18N | |
54 It still causes shift, ctrl, and alt to resend the last character, | |
55 if it was a control character like tab, enter, backspace, or ESC. | |
56 Bill_Mann @ PraxisInt.com */ | |
14619
856299d6fef8
(C_DEBUG_SWITCH) [not __GNUC__]: New definition.
Karl Heuer <kwzh@gnu.org>
parents:
14187
diff
changeset
|
57 /* #undef X11R5_INHIBIT_I18N */ |
20012
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
58 |
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
59 #ifndef HAVE_LIBXMU |
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
60 #define LIBXMU |
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
61 |
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
62 /* Unfortunately without libXmu we cannot support EditRes. */ |
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
63 #define NO_EDITRES |
0c55c5d71551
[! HAVE_LIBXMU] (LIBXMU): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents:
14833
diff
changeset
|
64 #endif |
52401 | 65 |
66 /* arch-tag: 72d598e1-bc3e-48e0-bfd2-693917c3738e | |
67 (do not change this comment) */ |