Mercurial > emacs
diff src/unexec.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 | baf6162e41d4 |
| children | e038c1a8307c |
line wrap: on
line diff
--- a/src/unexec.c Wed Jul 23 08:02:27 2008 +0000 +++ b/src/unexec.c Wed Jul 23 08:29:24 2008 +0000 @@ -117,15 +117,6 @@ This macro can be used to generate statements to adjust or initialize nonstandard fields in the file header -* ADDR_CORRECT(ADDR) - -Macro to correct an int which is the bit pattern of a pointer to a byte -into an int which is the number of a byte. - -This macro has a default definition which is usually right. -This default definition is a no-op on most machines (where a -pointer looks like an int) but not on all machines. - */ #ifndef emacs @@ -209,9 +200,7 @@ into an int which is the number of a byte. This is a no-op on ordinary machines, but not on all. */ -#ifndef ADDR_CORRECT /* Let m-*.h files override this definition */ #define ADDR_CORRECT(x) ((char *)(x) - (char*)0) -#endif #ifdef emacs
