diff --git a/dom/animation/DocumentTimeline.h b/dom/animation/DocumentTimeline.h index afd6fcef07af..e7f236f9321e 100644 --- a/dom/animation/DocumentTimeline.h +++ b/dom/animation/DocumentTimeline.h @@ -14,6 +14,12 @@ struct JSContext; +// GetCurrentTime is defined in winbase.h as zero argument macro forwarding to +// GetTickCount(). +#ifdef GetCurrentTime +#undef GetCurrentTime +#endif + namespace mozilla { namespace dom {