Mercurial > emacs
comparison src/unexaix.c @ 96929:5efe4b10d2b2
* s/usg5-4.h (ADDR_CORRECT): Remove, unused.
* unexaix.c (ADDR_CORRECT): Remove conditional, the only user
defines it.
* unexec.c (ADDR_CORRECT): Define unconditionally.
* m/ibmrs6000.h (C_SWITCH_MACHINE): Remove.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 23 Jul 2008 08:29:24 +0000 |
parents | 8971ddf55736 |
children | e038c1a8307c |
comparison
equal
deleted
inserted
replaced
96928:52474504bf47 | 96929:5efe4b10d2b2 |
---|---|
100 #endif | 100 #endif |
101 | 101 |
102 static int adjust_lnnoptrs (int, int, char *); | 102 static int adjust_lnnoptrs (int, int, char *); |
103 | 103 |
104 static int pagemask; | 104 static int pagemask; |
105 | |
106 /* Correct an int which is the bit pattern of a pointer to a byte | |
107 into an int which is the number of a byte. | |
108 This is a no-op on ordinary machines, but not on all. */ | |
109 | |
110 #ifndef ADDR_CORRECT /* Let m-*.h files override this definition */ | |
111 #define ADDR_CORRECT(x) ((char *)(x) - (char*)0) | |
112 #endif | |
113 | 105 |
114 #ifdef emacs | 106 #ifdef emacs |
115 #include "lisp.h" | 107 #include "lisp.h" |
116 | 108 |
117 static void | 109 static void |