Description: Build correctly with pthreads
Author: Stephen Kitt <skitt@debian.org>

--- a/xpcom/ds/moz.build
+++ b/xpcom/ds/moz.build
@@ -98,7 +98,11 @@
     'TimeStamp.cpp',
 ]
 
-if CONFIG['HAVE_CLOCK_MONOTONIC']:
+if CONFIG['OS_ARCH'] == 'WINNT':
+    CPP_SOURCES += [
+        'TimeStamp_windows.cpp',
+    ]
+elif CONFIG['HAVE_CLOCK_MONOTONIC']:
     CPP_SOURCES += [
         'TimeStamp_posix.cpp',
     ]
@@ -106,10 +110,6 @@
     CPP_SOURCES += [
         'TimeStamp_darwin.cpp',
     ]
-elif CONFIG['OS_ARCH'] == 'WINNT':
-    CPP_SOURCES += [
-        'TimeStamp_windows.cpp',
-    ]
 else:
     error('No TimeStamp implementation on this platform.  Build will not succeed')
 
