[Libreoffice-commits] core.git: tools/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 26 08:41:19 PDT 2014
tools/source/datetime/tdate.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit d6817ba7a74ba22206006f0783c788a5dc774236
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jun 26 17:40:18 2014 +0200
Mac OS X does provide localtime_r
Change-Id: I0a8860f2b0ea053cdfe9504dc266be36cdb0043e
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index 720692b..4fc2fc0 100644
--- a/tools/source/datetime/tdate.cxx
+++ b/tools/source/datetime/tdate.cxx
@@ -26,12 +26,6 @@
#include <tools/date.hxx>
#include <sal/log.hxx>
-#ifdef MACOSX
-extern "C" {
-struct tm *localtime_r(const time_t *timep, struct tm *buffer);
-}
-#endif
-
static const sal_uInt16 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30, 31 };
More information about the Libreoffice-commits
mailing list