diff options
| author | Richard M. Stallman | 1996-08-10 18:58:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-08-10 18:58:06 +0000 |
| commit | cda40aea36a21ffc088fb7a061d1bfa224ae99c2 (patch) | |
| tree | 525b6ba2c2a0b534c03239f6e2c59f755e2eeb56 | |
| parent | 0dcdc912a8d2c1623b249fe65ad4ba51a79b1e7b (diff) | |
| download | emacs-cda40aea36a21ffc088fb7a061d1bfa224ae99c2.tar.gz emacs-cda40aea36a21ffc088fb7a061d1bfa224ae99c2.zip | |
(LOAD_AVE_TYPE, FSCALE, LOAD_AVE_CVT): Undef them before defining.
| -rw-r--r-- | src/m/sequent-ptx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h index 26bca6a1fda..112638dbbf1 100644 --- a/src/m/sequent-ptx.h +++ b/src/m/sequent-ptx.h | |||
| @@ -59,11 +59,14 @@ Boston, MA 02111-1307, USA. */ | |||
| 59 | 59 | ||
| 60 | /* Data type of load average, as read out of kmem. */ | 60 | /* Data type of load average, as read out of kmem. */ |
| 61 | 61 | ||
| 62 | #undef LOAD_AVE_TYPE | ||
| 62 | #define LOAD_AVE_TYPE unsigned long | 63 | #define LOAD_AVE_TYPE unsigned long |
| 63 | 64 | ||
| 64 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 65 | 66 | ||
| 67 | #undef FSCALE | ||
| 66 | #define FSCALE 1000.0 | 68 | #define FSCALE 1000.0 |
| 69 | #undef LOAD_AVE_CVT | ||
| 67 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 70 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 68 | 71 | ||
| 69 | /* Define CANNOT_DUMP on machines where unexec does not work. | 72 | /* Define CANNOT_DUMP on machines where unexec does not work. |