diff options
| author | Glenn Morris | 2012-08-01 08:25:43 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-08-01 08:25:43 -0700 |
| commit | aac1c9ac836a116dfae721b6eeff30b5c018ab22 (patch) | |
| tree | 11ba9e30ad2a5cb61d2c390db7d9d8c75a224882 /src | |
| parent | 2e415bb75f4fa98ff03ac2269d5ed450ba5952fe (diff) | |
| download | emacs-aac1c9ac836a116dfae721b6eeff30b5c018ab22.tar.gz emacs-aac1c9ac836a116dfae721b6eeff30b5c018ab22.zip | |
Alphabetical order
Diffstat (limited to 'src')
| -rw-r--r-- | src/conf_post.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/conf_post.h b/src/conf_post.h index 5c06c3f4482..0870c17487b 100644 --- a/src/conf_post.h +++ b/src/conf_post.h | |||
| @@ -74,6 +74,22 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 74 | #define vfork fork | 74 | #define vfork fork |
| 75 | #endif /* DARWIN_OS */ | 75 | #endif /* DARWIN_OS */ |
| 76 | 76 | ||
| 77 | /* We have to go this route, rather than the old hpux9 approach of | ||
| 78 | renaming the functions via macros. The system's stdlib.h has fully | ||
| 79 | prototyped declarations, which yields a conflicting definition of | ||
| 80 | srand48; it tries to redeclare what was once srandom to be srand48. | ||
| 81 | So we go with HAVE_LRAND48 being defined. */ | ||
| 82 | #ifdef HPUX | ||
| 83 | #undef srandom | ||
| 84 | #undef random | ||
| 85 | /* We try to avoid checking for random and rint on hpux in | ||
| 86 | configure.ac, but some other configure test might check for them as | ||
| 87 | a dependency, so to be safe we also undefine them here. | ||
| 88 | */ | ||
| 89 | #undef HAVE_RANDOM | ||
| 90 | #undef HAVE_RINT | ||
| 91 | #endif /* HPUX */ | ||
| 92 | |||
| 77 | #ifdef MSDOS | 93 | #ifdef MSDOS |
| 78 | #ifndef __DJGPP__ | 94 | #ifndef __DJGPP__ |
| 79 | You lose; /* Emacs for DOS must be compiled with DJGPP */ | 95 | You lose; /* Emacs for DOS must be compiled with DJGPP */ |
| @@ -114,22 +130,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 114 | #endif | 130 | #endif |
| 115 | #endif /* MSDOS */ | 131 | #endif /* MSDOS */ |
| 116 | 132 | ||
| 117 | /* We have to go this route, rather than the old hpux9 approach of | ||
| 118 | renaming the functions via macros. The system's stdlib.h has fully | ||
| 119 | prototyped declarations, which yields a conflicting definition of | ||
| 120 | srand48; it tries to redeclare what was once srandom to be srand48. | ||
| 121 | So we go with HAVE_LRAND48 being defined. */ | ||
| 122 | #ifdef HPUX | ||
| 123 | #undef srandom | ||
| 124 | #undef random | ||
| 125 | /* We try to avoid checking for random and rint on hpux in | ||
| 126 | configure.ac, but some other configure test might check for them as | ||
| 127 | a dependency, so to be safe we also undefine them here. | ||
| 128 | */ | ||
| 129 | #undef HAVE_RANDOM | ||
| 130 | #undef HAVE_RINT | ||
| 131 | #endif | ||
| 132 | |||
| 133 | #ifdef IRIX6_5 | 133 | #ifdef IRIX6_5 |
| 134 | #ifdef emacs | 134 | #ifdef emacs |
| 135 | char *_getpty(); | 135 | char *_getpty(); |