diff options
Diffstat (limited to 'base/time.h')
-rw-r--r-- | base/time.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/time.h b/base/time.h index 9ece389..aa97f0a 100644 --- a/base/time.h +++ b/base/time.h @@ -26,7 +26,7 @@ #include <time.h> #include "base/atomicops.h" -#include "base/base_api.h" +#include "base/base_export.h" #include "base/basictypes.h" #if defined(OS_POSIX) @@ -47,7 +47,7 @@ class TimeTicks; // TimeDelta ------------------------------------------------------------------ -class BASE_API TimeDelta { +class BASE_EXPORT TimeDelta { public: TimeDelta() : delta_(0) { } @@ -177,7 +177,7 @@ inline TimeDelta operator*(int64 a, TimeDelta td) { // Time ----------------------------------------------------------------------- // Represents a wall clock time. -class BASE_API Time { +class BASE_EXPORT Time { public: static const int64 kMillisecondsPerSecond = 1000; static const int64 kMicrosecondsPerMillisecond = 1000; @@ -203,7 +203,7 @@ class BASE_API Time { // Represents an exploded time that can be formatted nicely. This is kind of // like the Win32 SYSTEMTIME structure or the Unix "struct tm" with a few // additions and changes to prevent errors. - struct BASE_API Exploded { + struct BASE_EXPORT Exploded { int year; // Four digit year "2007" int month; // 1-based month (values 1 = January, etc.) int day_of_week; // 0-based day of week (0 = Sunday, etc.) @@ -457,7 +457,7 @@ inline Time TimeDelta::operator+(Time t) const { // TimeTicks ------------------------------------------------------------------ -class BASE_API TimeTicks { +class BASE_EXPORT TimeTicks { public: TimeTicks() : ticks_(0) { } |