diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-08 18:44:32 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-08 18:44:32 +0000 |
commit | 4b17aea63fede24925cd7579c27f55298e5e9937 (patch) | |
tree | 6d6d6fcef1ca51a4817ec20d04d3e87f8431abe4 /fpdfsdk | |
parent | 34dab07ed6e826666fd0589069f2c9b5bd2ba4dc (diff) | |
download | pdfium-4b17aea63fede24925cd7579c27f55298e5e9937.tar.xz |
Remove include of <time.h> from fpdfsdk/cpdfsdk_datetime.h
Prevent stray calls to get time from the system without explicilty
including <time.h> in some .cpp file. This helps to be able to control
all the places where PDFium obtains time more carefully.
Change-Id: I9d52a00b9d4413e18c98f0476fabe7c5f2cd6574
Reviewed-on: https://pdfium-review.googlesource.com/39710
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/cpdfsdk_datetime.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/cpdfsdk_datetime.h b/fpdfsdk/cpdfsdk_datetime.h index cbd3c36d44..08d8c2bc8a 100644 --- a/fpdfsdk/cpdfsdk_datetime.h +++ b/fpdfsdk/cpdfsdk_datetime.h @@ -7,12 +7,6 @@ #ifndef FPDFSDK_CPDFSDK_DATETIME_H_ #define FPDFSDK_CPDFSDK_DATETIME_H_ -#if _FX_OS_ == _FX_OS_ANDROID_ -#include <time.h> -#else -#include <ctime> -#endif - #include "fpdfsdk/cfx_systemhandler.h" class CPDFSDK_DateTime { |