summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-26 17:40:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-26 17:40:44 +0200
commitd6817ba7a74ba22206006f0783c788a5dc774236 (patch)
treeef5fb11f9bbc1d4d12d3f4fadcc7750ccbb73d2e /tools
parent02bf9ed73a666a047c4a076de027d8ce0ef73c63 (diff)
Mac OS X does provide localtime_r
Change-Id: I0a8860f2b0ea053cdfe9504dc266be36cdb0043e
Diffstat (limited to 'tools')
-rw-r--r--tools/source/datetime/tdate.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index 720692b7973a..4fc2fc0b0c91 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 };