diff options
| author | YAMAMOTO Mitsuharu | 2007-04-09 09:18:54 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-04-09 09:18:54 +0000 |
| commit | bb4c0e89d17d9585027dfb380a8a2bffb61962ea (patch) | |
| tree | aa925cdbb1cd2bfc2da36efe70fe12bf99cad106 | |
| parent | 89c28790121a91e44c62dd66fcbf5bee6b547bc5 (diff) | |
| download | emacs-bb4c0e89d17d9585027dfb380a8a2bffb61962ea.tar.gz emacs-bb4c0e89d17d9585027dfb380a8a2bffb61962ea.zip | |
(__restrict, struct kboard): Remove outdated workarounds.
(C_SWITCH_SYSTEM): Remove `-I../mac/src'.
| -rw-r--r-- | src/s/darwin.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/s/darwin.h b/src/s/darwin.h index 7175ea5457c..cb032429f7d 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -121,7 +121,7 @@ Boston, MA 02110-1301, USA. */ | |||
| 121 | * default for process-connection-type dependent on the kernel | 121 | * default for process-connection-type dependent on the kernel |
| 122 | * version. | 122 | * version. |
| 123 | */ | 123 | */ |
| 124 | #define MIN_PTY_KERNEL_VERSION '7' | 124 | #define MIN_PTY_KERNEL_VERSION '7' |
| 125 | 125 | ||
| 126 | /* | 126 | /* |
| 127 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | 127 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate |
| @@ -216,9 +216,6 @@ Boston, MA 02110-1301, USA. */ | |||
| 216 | also the name of a Mach system call. */ | 216 | also the name of a Mach system call. */ |
| 217 | #define init_process emacs_init_process | 217 | #define init_process emacs_init_process |
| 218 | 218 | ||
| 219 | /* Fix compilation problem for regex.c. */ | ||
| 220 | #define __restrict | ||
| 221 | |||
| 222 | /* Used in dispnew.c. Copied from freebsd.h. */ | 219 | /* Used in dispnew.c. Copied from freebsd.h. */ |
| 223 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | 220 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) |
| 224 | 221 | ||
| @@ -262,9 +259,8 @@ Boston, MA 02110-1301, USA. */ | |||
| 262 | 259 | ||
| 263 | /* Definitions for how to compile & link. */ | 260 | /* Definitions for how to compile & link. */ |
| 264 | 261 | ||
| 265 | /* Indicate that we are compiling for Mac OS X and where to find Mac | 262 | /* Indicate that we are compiling for Mac OS X. */ |
| 266 | specific headers. */ | 263 | #define C_SWITCH_SYSTEM -fpascal-strings -DMAC_OSX |
| 267 | #define C_SWITCH_SYSTEM -fpascal-strings -DMAC_OSX -I../mac/src | ||
| 268 | 264 | ||
| 269 | /* Link in the Carbon lib. */ | 265 | /* Link in the Carbon lib. */ |
| 270 | #ifdef HAVE_CARBON | 266 | #ifdef HAVE_CARBON |
| @@ -317,13 +313,6 @@ Boston, MA 02110-1301, USA. */ | |||
| 317 | #define NO_MATHERR | 313 | #define NO_MATHERR |
| 318 | 314 | ||
| 319 | 315 | ||
| 320 | /* This prevents a compilation error in xfaces.c: struct kboard * is | ||
| 321 | used in a function protocol the first time this type appears in the | ||
| 322 | file, since MULTI_KBOARD is undefined for the Mac OS X build. */ | ||
| 323 | #ifndef NOT_C_CODE | ||
| 324 | struct kboard; | ||
| 325 | #endif | ||
| 326 | |||
| 327 | /* The following solves the problem that Emacs hangs when evaluating | 316 | /* The following solves the problem that Emacs hangs when evaluating |
| 328 | (make-comint "test0" "/nodir/nofile" nil "") when /nodir/nofile | 317 | (make-comint "test0" "/nodir/nofile" nil "") when /nodir/nofile |
| 329 | does not exist. */ | 318 | does not exist. */ |