forked from alexpearce/travis-ci-root-builds
-
Notifications
You must be signed in to change notification settings - Fork 2
/
root.patch
13 lines (13 loc) · 609 Bytes
/
root.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/core/base/src/TTimeStamp.cxx b/core/base/src/TTimeStamp.cxx
index 5a07b2f..6541ef5 100644
--- a/core/base/src/TTimeStamp.cxx
+++ b/core/base/src/TTimeStamp.cxx
@@ -813,7 +813,7 @@ void TTimeStamp::DumpTMStruct(const tm_t &tmstruct)
tmstruct.tm_isdst);
#if (defined(linux) && !defined(R__WINGCC)) || defined(R__MACOSX)
printf(",\n tm_gmtoff %6ld, tm_zone \"%s\"",
-#if defined(__USE_BSD) || defined(R__MACOSX)
+#if defined(__USE_BSD) || defined(R__MACOSX) || defined(__USE_MISC)
tmstruct.tm_gmtoff, tmstruct.tm_zone);
#else
tmstruct.__tm_gmtoff, tmstruct.__tm_zone);