Kaydet (Commit) d6817ba7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Mac OS X does provide localtime_r

Change-Id: I0a8860f2b0ea053cdfe9504dc266be36cdb0043e
üst 02bf9ed7
...@@ -26,12 +26,6 @@ ...@@ -26,12 +26,6 @@
#include <tools/date.hxx> #include <tools/date.hxx>
#include <sal/log.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, static const sal_uInt16 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30, 31 }; 31, 31, 30, 31, 30, 31 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment