summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_datetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_datetime.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_datetime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_datetime.cpp b/fpdfsdk/cpdfsdk_datetime.cpp
index 332ae8e62e..f0d50911aa 100644
--- a/fpdfsdk/cpdfsdk_datetime.cpp
+++ b/fpdfsdk/cpdfsdk_datetime.cpp
@@ -93,7 +93,7 @@ void CPDFSDK_DateTime::ResetDateTime() {
tzset();
time_t curTime;
- time(&curTime);
+ FXSYS_time(&curTime);
struct tm* newtime = localtime(&curTime);
m_year = newtime->tm_year + 1900;