| Index: src/platform-win32.cc
|
| ===================================================================
|
| --- src/platform-win32.cc (revision 15486)
|
| +++ src/platform-win32.cc (working copy)
|
| @@ -152,6 +152,7 @@
|
| memmove(dest, src, size);
|
| }
|
|
|
| +
|
| // Initialize to library version so we can call this at any time during startup.
|
| static OS::MemMoveFunction memmove_function = &MemMoveWrapper;
|
|
|
| @@ -178,6 +179,7 @@
|
| modulo_function = CreateModuloFunction();
|
| }
|
|
|
| +
|
| double modulo(double x, double y) {
|
| // Note: here we rely on dependent reads being ordered. This is true
|
| // on all architectures we currently support.
|
| @@ -321,6 +323,7 @@
|
| TimeStamp time_;
|
| };
|
|
|
| +
|
| // Static variables.
|
| bool Time::tz_initialized_ = false;
|
| TIME_ZONE_INFORMATION Time::tzinfo_;
|
| @@ -616,6 +619,7 @@
|
| return t.ToJSTime();
|
| }
|
|
|
| +
|
| // Returns the tickcounter based on timeGetTime.
|
| int64_t OS::Ticks() {
|
| return timeGetTime() * 1000; // Convert to microseconds.
|
| @@ -1449,6 +1453,7 @@
|
| return frames_count;
|
| }
|
|
|
| +
|
| // Restore warnings to previous settings.
|
| #pragma warning(pop)
|
|
|
|
|