mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 893444 - wine-gecko fails to compile when using mingw-w64+winpthreads r=glandium
This commit is contained in:
parent
0e4a7d3bc7
commit
8c768cb0c4
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user