From: sof Date: Mon, 29 Jun 1998 17:53:31 +0000 (+0000) Subject: [project @ 1998-06-29 17:53:31 by sof] X-Git-Tag: Approx_2487_patches~541 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d1d0667d871adbf6cc8c51d0d81ba06108d117e4;p=ghc-hetmet.git [project @ 1998-06-29 17:53:31 by sof] slightly less obscene #ifdef'ing for solaris, define __EXTENSIONS__ to get at prusage_t struct --- diff --git a/ghc/runtime/storage/SMstats.lc b/ghc/runtime/storage/SMstats.lc index 8082a63..5383ce2 100644 --- a/ghc/runtime/storage/SMstats.lc +++ b/ghc/runtime/storage/SMstats.lc @@ -25,6 +25,10 @@ stat_exit #define _INCLUDE_HPUX_SOURCE #endif +#ifdef solaris2_TARGET_OS +#define __EXTENSIONS__ +#endif + #ifdef HAVE_SYS_TYPES_H #include #endif @@ -67,7 +71,6 @@ stat_exit from getrusage() for Solaris -- SOF */ #if solaris2_TARGET_OS -#undef __STRICT_ANSI__ /* oh, dear */ #include #include #include