diff options
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r-- | Modules/timemodule.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 5bf1340..5406907 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -72,6 +72,13 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #endif /* !unix */ #ifdef SYSV +#if defined(sun) && defined(__STDC__) +/* Temporary hack for Solaris 2. */ +#define _timezone timezone +#define _altzone altzone +#define _daylight daylight +#define _tzname tzname +#endif /* Access timezone stuff */ #ifdef OLDTZ /* ANSI prepends underscore to these */ #define _timezone timezone /* seconds to be added to GMT */ |