diff --git a/panda/src/downloader/httpDate.cxx b/panda/src/downloader/httpDate.cxx index 71efb7ba66..fd9d01e8ed 100644 --- a/panda/src/downloader/httpDate.cxx +++ b/panda/src/downloader/httpDate.cxx @@ -210,7 +210,10 @@ HTTPDate(const string &format) { } // Everything checks out; convert the date. -#ifdef __GNUC__ + // rdb made this an #if 0 check as timegm is a nonstandard extension + // so it fails in some situations even if the compiler defines __GNUC__ +#if 0 + _time = timegm(&t); #else // __GNUC__