Bug 893444 - wine-gecko fails to compile when using mingw-w64+winpthreads r=glandium

This commit is contained in:
Jacek Caban 2013-07-16 14:08:44 +02:00
parent 0e4a7d3bc7
commit 8c768cb0c4

View File

@ -97,7 +97,11 @@ CPP_SOURCES += [
'nsVariant.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',
]
@ -105,10 +109,6 @@ elif CONFIG['OS_ARCH'] == 'Darwin':
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')