Mercurial > emacs
comparison src/sysdep.c @ 46653:8ba889cb6430
(start_of_data): Don't define the function if a macro
form has been defined.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 24 Jul 2002 02:07:26 +0000 |
parents | 33d141338a55 |
children | ee04d07683ab |
comparison
equal
deleted
inserted
replaced
46652:243b781b4ba5 | 46653:8ba889cb6430 |
---|---|
2235 * at the normal shared text boundary and the startofdata variable | 2235 * at the normal shared text boundary and the startofdata variable |
2236 * will be patched by unexec to the correct value. | 2236 * will be patched by unexec to the correct value. |
2237 * | 2237 * |
2238 */ | 2238 */ |
2239 | 2239 |
2240 #ifndef start_of_data | |
2240 char * | 2241 char * |
2241 start_of_data () | 2242 start_of_data () |
2242 { | 2243 { |
2243 #ifdef DATA_START | 2244 #ifdef DATA_START |
2244 return ((char *) DATA_START); | 2245 return ((char *) DATA_START); |
2257 extern int data_start; | 2258 extern int data_start; |
2258 return ((char *) &data_start); | 2259 return ((char *) &data_start); |
2259 #endif /* ORDINARY_LINK */ | 2260 #endif /* ORDINARY_LINK */ |
2260 #endif /* DATA_START */ | 2261 #endif /* DATA_START */ |
2261 } | 2262 } |
2263 #endif /* start_of_data */ | |
2262 #endif /* NEED_STARTS (not CANNOT_DUMP or not SYSTEM_MALLOC) */ | 2264 #endif /* NEED_STARTS (not CANNOT_DUMP or not SYSTEM_MALLOC) */ |
2263 | 2265 |
2264 /* init_system_name sets up the string for the Lisp function | 2266 /* init_system_name sets up the string for the Lisp function |
2265 system-name to return. */ | 2267 system-name to return. */ |
2266 | 2268 |