Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/elftosb/dist/common Make this build on SunOS.



details:   https://anonhg.NetBSD.org/src/rev/6dfc951c1358
branches:  trunk
changeset: 785090:6dfc951c1358
user:      hans <hans%NetBSD.org@localhost>
date:      Thu Feb 21 15:56:07 2013 +0000

description:
Make this build on SunOS.

diffstat:

 external/bsd/elftosb/dist/common/EncoreBootImage.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0e3349c7b5a7 -r 6dfc951c1358 external/bsd/elftosb/dist/common/EncoreBootImage.cpp
--- a/external/bsd/elftosb/dist/common/EncoreBootImage.cpp      Thu Feb 21 15:16:02 2013 +0000
+++ b/external/bsd/elftosb/dist/common/EncoreBootImage.cpp      Thu Feb 21 15:56:07 2013 +0000
@@ -391,7 +391,7 @@
 //! \bug The timestamp might be off an hour.
 uint64_t EncoreBootImage::getTimestamp()
 {
-#if defined(WIN32) || defined(__CYGWIN__)
+#if defined(WIN32) || defined(__CYGWIN__) || defined(__sun)
        struct tm epoch = { 0, 0, 0, 1, 0, 100, 0, 0 }; // 00:00 1-1-2000
 #else
        struct tm epoch = { 0, 0, 0, 1, 0, 100, 0, 0, 1, 0, NULL }; // 00:00 1-1-2000



Home | Main Index | Thread Index | Old Index