diff options
| author | Richard Kistruck | 2005-02-02 18:01:36 +0000 |
|---|---|---|
| committer | Richard Kistruck | 2005-02-02 18:01:36 +0000 |
| commit | 8a262a53812c97b591fb4596c2a710e12a734c57 (patch) | |
| tree | ca8019747c92ec67768ebf76f0902ef93de63483 /mps/code | |
| parent | 73f0e02ffa3d745f44f824abacaed1d9049f6221 (diff) | |
| download | emacs-8a262a53812c97b591fb4596c2a710e12a734c57.tar.gz emacs-8a262a53812c97b591fb4596c2a710e12a734c57.zip | |
Remove obsolete wrokarounds for historical problems in ancient mac os x headers: these workarounds are no longer needed.
Also, note this removal in new file .../mps/master/manual/build-notes/.
Also, add reference to this file in index of manuals.
Copied from Perforce
Change: 142435
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/osxc.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/mps/code/osxc.h b/mps/code/osxc.h index a40dc66721c..14ae6ae98a2 100644 --- a/mps/code/osxc.h +++ b/mps/code/osxc.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* osxc.h: MacOS X (Carbon-compatible) system header hacks | 1 | /* osxc.h: MacOS X (Carbon-compatible) system header hacks |
| 2 | * | 2 | * |
| 3 | * $Id$ | 3 | * $Id$ |
| 4 | * Copyright (c) 2001 Ravenbrook Limited. See end of file for license. | 4 | * Copyright (c) 2005 Ravenbrook Limited. See end of file for license. |
| 5 | * | 5 | * |
| 6 | * .purpose: This header fixes bugs in the system headers. | 6 | * .purpose: This header fixes bugs in the system headers. |
| 7 | */ | 7 | */ |
| @@ -11,17 +11,7 @@ | |||
| 11 | #define osxc_h | 11 | #define osxc_h |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | #ifdef MPS_BUILD_GC | 14 | /* There's nothing to fix. */ |
| 15 | /* __inline__ is supposed to do nothing in gcc -ansi, but there's a bug in */ | ||
| 16 | /* DP3, that causes it to signal error (for __sputc in stdio.h). */ | ||
| 17 | #define __inline__ | ||
| 18 | #endif | ||
| 19 | |||
| 20 | |||
| 21 | /* cabs doesn't have a proper prototype; taken from glibc 2.0.6 manual. */ | ||
| 22 | /* Define a structure tag to avoid warnings. */ | ||
| 23 | struct mps_complex { double real, imag; }; | ||
| 24 | extern double cabs(struct mps_complex z); | ||
| 25 | 15 | ||
| 26 | 16 | ||
| 27 | #endif /* osxc_h */ | 17 | #endif /* osxc_h */ |
| @@ -29,7 +19,7 @@ extern double cabs(struct mps_complex z); | |||
| 29 | 19 | ||
| 30 | /* C. COPYRIGHT AND LICENSE | 20 | /* C. COPYRIGHT AND LICENSE |
| 31 | * | 21 | * |
| 32 | * Copyright (C) 2001-2002 Ravenbrook Limited <http://www.ravenbrook.com/>. | 22 | * Copyright (C) 2001-2005 Ravenbrook Limited <http://www.ravenbrook.com/>. |
| 33 | * All rights reserved. This is an open source license. Contact | 23 | * All rights reserved. This is an open source license. Contact |
| 34 | * Ravenbrook for commercial licensing options. | 24 | * Ravenbrook for commercial licensing options. |
| 35 | * | 25 | * |