annotate src/s/irix6-5.h @ 29022:3eec558de0ef

(Fw32_set_clipboard_data): Setup members src_multibyte and dst_multibyte of coding. Adjusted for the change for find_charset_in_str. (Fw32_get_clipboard_data): Likewise.
author Kenichi Handa <handa@m17n.org>
date Sat, 20 May 2000 00:07:08 +0000
parents 2567edc84238
children a0367b506722
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 #define IRIX6
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2 #define IRIX6_5
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #include "irix5-0.h"
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5 /* Irix 6 tries to do 64 bits, but doesn't do it fully,
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 so inhibit that. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 #define IRIX_FORCE_32_BITS
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9 #ifndef __GNUC__
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 #ifndef IRIX6_5
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 #define LD_SWITCH_SYSTEM -32
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 #else
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 #define LD_SWITCH_SYSTEM -n32
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 /* This macro definition, which we inherited from irix5-0.h,
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 is needed in configure on Irix 5, but gets in the way there
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19 on Irix 6. So get rid of it except in Makefile.in where we need it. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 #ifndef THIS_IS_MAKEFILE
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 #undef C_SWITCH_SYSTEM
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24 /* The only supported configuration of GCC under IRIX6.x produces
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 n32 MIPS ABI binaries and also supports -g. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26 #ifdef __GNUC__
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27 #undef C_DEBUG_SWITCH
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28 #define C_DEBUG_SWITCH -g
25338
8a6fbe59406d (C_DEBUG_SWITCH): Set for debug and optimize.
Dave Love <fx@gnu.org>
parents: 23913
diff changeset
29 #else
27490
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
30 /* Optimize, inaccurate debugging, increase limit on size of what's
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
31 optimized.
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
32
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
33 This should also be applicable other than on Irix 6.5, but I don't
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
34 know for which compiler versions. -- fx */
2567edc84238 Revert last change after change to irix5-0.h.
Dave Love <fx@gnu.org>
parents: 27440
diff changeset
35 #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500
23913
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36 #endif
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
37
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
38 #undef SA_RESTART
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
39
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
41 #if 0
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
42 /* Canced the #define that is in irix5-0.h. */
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
43 #undef ospeed
d755c5c3e9a2 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
44 #endif