Bug 1256626. Workaround Microsoft macro silliness. r=me

Unrelated to changes to 1256626, but obviously broke the unified build system ON A CLOSED TREE.

MozReview-Commit-ID: 3vklyHWFtgp
This commit is contained in:
Jean-Yves Avenard 2016-03-19 13:21:23 +11:00
Родитель 56dbbf45cc
Коммит c4dd7379f5
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -25,6 +25,13 @@
#include "VideoStreamTrack.h"
#include "Layers.h"
// GetCurrentTime is defined in winbase.h as zero argument macro forwarding to
// GetTickCount() and conflicts with NS_DECL_NSIDOMMEDIASTREAM, containing
// currentTime getter.
#ifdef GetCurrentTime
#undef GetCurrentTime
#endif
#ifdef LOG
#undef LOG
#endif