Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Issue 4944 - Missing tzname even though we have tzset
Browse files Browse the repository at this point in the history
  • Loading branch information
complexmath committed Feb 18, 2011
1 parent bc731e9 commit 2860799
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/core/stdc/time.d
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,25 @@ size_t strftime(char* s, size_t maxsize, in char* format, in tm* timeptr);

version( Windows )
{
void tzset(); // non-standard
void _tzset(); // non-standard
char* _strdate(char* s); // non-standard
char* _strtime(char* s); // non-standard
void tzset(); // non-standard
void _tzset(); // non-standard
char* _strdate(char* s); // non-standard
char* _strtime(char* s); // non-standard

extern __gshared const(char)*[2] tzname; // non-standard
}
else version( OSX )
{
void tzset(); // non-standard
void tzset(); // non-standard
extern __gshared const(char)*[2] tzname; // non-standard
}
else version( linux )
{
void tzset(); // non-standard
void tzset(); // non-standard
extern __gshared const(char)*[2] tzname; // non-standard
}
else version( FreeBSD )
{
void tzset(); // non-standard
void tzset(); // non-standard
extern __gshared const(char)*[2] tzname; // non-standard
}

0 comments on commit 2860799

Please sign in to comment.