diff options
Diffstat (limited to 'devel/cocktail/files/patch-reuse-c-rSystem.c')
-rw-r--r-- | devel/cocktail/files/patch-reuse-c-rSystem.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/cocktail/files/patch-reuse-c-rSystem.c b/devel/cocktail/files/patch-reuse-c-rSystem.c new file mode 100644 index 000000000000..7005c4b86afa --- /dev/null +++ b/devel/cocktail/files/patch-reuse-c-rSystem.c @@ -0,0 +1,23 @@ +--- ../../work/cocktail-9309//./reuse/c/rSystem.c Tue Feb 15 14:26:43 1994 ++++ ./reuse/c/rSystem.c Wed Mar 31 22:35:06 2004 +@@ -17,9 +17,9 @@ + # include "rSystem.h" + + # ifdef m68000 +-# define hz 50 ++# define HZ 50 + # else +-# define hz 60 ++# define HZ 60 + # endif + + # ifndef UNIX +@@ -156,7 +156,7 @@ + # else + struct tms buffer; + (void) times (& buffer); +- return (buffer.tms_utime + buffer.tms_stime) * 1000 / hz; ++ return (buffer.tms_utime + buffer.tms_stime) * 1000 / HZ; + # endif + } + |