зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1119179 - Avoid gmtime_r duplication if it's provided by mingw. r=bsmith
This commit is contained in:
Родитель
182c19d839
Коммит
52f5ce5e18
|
@ -224,7 +224,7 @@ Integer(long value)
|
|||
enum TimeEncoding { UTCTime = 0, GeneralizedTime = 1 };
|
||||
|
||||
// Windows doesn't provide gmtime_r, but it provides something very similar.
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS)
|
||||
static tm*
|
||||
gmtime_r(const time_t* t, /*out*/ tm* exploded)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче