Mercurial > hg > xemacs-beta
annotate src/s/hpux11-shr.h @ 4619:75e7ab37b6c8
Fix query-coding-tests.el failures, non-mule ELCs, mule build.
lisp/ChangeLog addition:
2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
* unicode.el (unicode-query-coding-region):
Avoid eval-when-compile where that gives incorrect results when
compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes
problems seen by
20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com ,
thank you Vin!
(An equivalent way to get the efficiency of the eval-when-compile
would be to provide two defvars, evaluated at dump time, but this
code will be in C soon enough, and we can use the relevant
preprocessor constants there.)
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 17 Feb 2009 08:35:13 +0000 |
parents | b2472a1930f2 |
children | aa5ed11f473b |
rev | line source |
---|---|
269 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
3 /* For building XEmacs under HPUX 10.0 with dynamic libraries. */ | |
4 | |
5 #define ORDINARY_LINK | |
6 | |
7 /* XEmacs change */ | |
8 /* Only support for hp9000s300 currently */ | |
9 #if !defined(__hp9000s300) | |
10 #define HPUX_USE_SHLIBS | |
11 #endif /* !hp9000s300 */ | |
12 | |
13 /* XEmacs: */ | |
14 /* Don't tell the linker to link statically */ | |
15 #ifdef NOT_C_CODE | |
16 #define START_FILES | |
17 #define LINKER "$(CC)" | |
18 #endif /* THIS IS YMAKEFILE */ | |
19 | |
20 /* get call to brk() when rerunning XEmacs */ | |
21 #define RUN_TIME_REMAP | |
22 | |
23 #include "hpux11.h" | |
24 | |
25 /* We must turn off -g since it forces -static. */ | |
26 #ifdef __GNUC__ | |
27 #undef C_DEBUG_SWITCH | |
28 #define C_DEBUG_SWITCH | |
29 #endif |