diff options
| author | Jim Blandy | 1992-09-13 13:08:15 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-09-13 13:08:15 +0000 |
| commit | 7b89707ca360cf6fa617a42ad209ca086177e8ad (patch) | |
| tree | ce51bf0c3c26b78e5348022efaea6ec41a99a3d2 /src | |
| parent | b0342f1711645d3ee55b7fc19cb2f72514f7f30f (diff) | |
| download | emacs-7b89707ca360cf6fa617a42ad209ca086177e8ad.tar.gz emacs-7b89707ca360cf6fa617a42ad209ca086177e8ad.zip | |
entered into RCS
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/hp9000s300.h | 10 | ||||
| -rw-r--r-- | src/systime.h | 17 |
2 files changed, 20 insertions, 7 deletions
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h index 9663a5b4743..6d247d34806 100644 --- a/src/m/hp9000s300.h +++ b/src/m/hp9000s300.h | |||
| @@ -32,6 +32,9 @@ HP 9000 series 200 or 300 (-machine=hp9000s300) | |||
| 32 | If you're running BSD, specify `-opsystem=bsd4-3'. | 32 | If you're running BSD, specify `-opsystem=bsd4-3'. |
| 33 | NOTE-END */ | 33 | NOTE-END */ |
| 34 | 34 | ||
| 35 | /* I don't understand why we have to do this at all! -JimB */ | ||
| 36 | #if 0 | ||
| 37 | |||
| 35 | /* Do this here at the top of the file; including sys/wait.h may | 38 | /* Do this here at the top of the file; including sys/wait.h may |
| 36 | include <endian.h>, which defines BIG_ENDIAN, which will conflict | 39 | include <endian.h>, which defines BIG_ENDIAN, which will conflict |
| 37 | with our definition of BIG_ENDIAN if we do this at the bottom. */ | 40 | with our definition of BIG_ENDIAN if we do this at the bottom. */ |
| @@ -43,6 +46,8 @@ NOTE-END */ | |||
| 43 | #define WRETCODE(w) (((w) >> 8) & 0377) | 46 | #define WRETCODE(w) (((w) >> 8) & 0377) |
| 44 | #endif | 47 | #endif |
| 45 | 48 | ||
| 49 | #endif | ||
| 50 | |||
| 46 | /* Define NOMULTIPLEJOBS on versions of HPUX before 6.5. */ | 51 | /* Define NOMULTIPLEJOBS on versions of HPUX before 6.5. */ |
| 47 | 52 | ||
| 48 | /* #define NOMULTIPLEJOBS */ | 53 | /* #define NOMULTIPLEJOBS */ |
| @@ -63,9 +68,10 @@ NOTE-END */ | |||
| 63 | 68 | ||
| 64 | /* Define BIG_ENDIAN iff lowest-numbered byte in a word | 69 | /* Define BIG_ENDIAN iff lowest-numbered byte in a word |
| 65 | is the most significant byte. */ | 70 | is the most significant byte. */ |
| 66 | /* Under BSD, <endian.h> defines this. */ | 71 | /* Under BSD, <endian.h> defines this to be 4321; rather than fight with it, |
| 72 | we'll just give in. Compatibility, akido style. */ | ||
| 67 | #ifndef BIG_ENDIAN | 73 | #ifndef BIG_ENDIAN |
| 68 | #define BIG_ENDIAN | 74 | #define BIG_ENDIAN 4321 |
| 69 | #endif | 75 | #endif |
| 70 | 76 | ||
| 71 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | 77 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
diff --git a/src/systime.h b/src/systime.h index 787c51d89ab..1741c8cc046 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -17,6 +17,14 @@ You should have received a copy of the GNU General Public License | |||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | 17 | along with GNU Emacs; see the file COPYING. If not, write to |
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 19 | 19 | ||
| 20 | #if defined (HAVE_TIMEVAL) && !defined (NEED_TIME_H) | ||
| 21 | /* NEED_TIME_H is necessary because some versions of HP/UX shouldn't | ||
| 22 | have this included; time.h should do the trick instead. */ | ||
| 23 | |||
| 24 | #include <sys/time.h> | ||
| 25 | |||
| 26 | #else | ||
| 27 | |||
| 20 | /* _h_BSDTYPES is checked because on ISC unix, socket.h includes | 28 | /* _h_BSDTYPES is checked because on ISC unix, socket.h includes |
| 21 | both time.h and sys/time.h, and the later file is protected | 29 | both time.h and sys/time.h, and the later file is protected |
| 22 | from repeated inclusion. We just hope that other systems will | 30 | from repeated inclusion. We just hope that other systems will |
| @@ -25,12 +33,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 25 | #include <time.h> | 33 | #include <time.h> |
| 26 | #endif /* _h_BSDTYPES */ | 34 | #endif /* _h_BSDTYPES */ |
| 27 | 35 | ||
| 28 | #ifdef HAVE_TIMEVAL | 36 | /* AIX needs both <sys/time.h> and <time.h>. */ |
| 29 | #ifndef NEED_TIME_H /* Some versions of HP/UX shouldn't have | 37 | #ifdef _AIX |
| 30 | this included; time.h should do the trick | 38 | #include <time.h> |
| 31 | instead. */ | ||
| 32 | #include <sys/time.h> | ||
| 33 | #endif | 39 | #endif |
| 40 | |||
| 34 | #endif | 41 | #endif |
| 35 | 42 | ||
| 36 | 43 | ||