merge all mingw and msvc specific code for FPU information into libs/pbd/fpu.cc and remove msvc-specific version

This commit is contained in:
Paul Davis
2015-04-21 11:39:19 -04:00
parent 63b3967724
commit a5d7e8446b
3 changed files with 29 additions and 121 deletions

View File

@@ -48,6 +48,7 @@ libpbd_sources = [
'error.cc',
'ffs.cc',
'file_utils.cc',
'fpu.cc',
'glib_semaphore.cc',
'id.cc',
'locale_guard.cc',
@@ -152,10 +153,7 @@ def build(bld):
obj.defines += [ 'USE_X86_64_ASM' ]
obj.defines += ['NO_POSIX_MEMALIGN' ]
obj.source += [ 'windows_special_dirs.cc' ]
obj.source += [ 'msvc/fpu.cc' ]
obj.uselib += ' OLE'
else:
obj.source += [ 'fpu.cc' ]
if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'):
# Unit tests