зеркало из https://github.com/mozilla/gecko-dev.git
Bug 875651 - Remove workaround of KB982107/Bug 635617 since required VS2010+. r=dvander
This commit is contained in:
Родитель
63de89313e
Коммит
d41ae0f9b8
|
@ -154,15 +154,6 @@ else
|
|||
SDK_LIBRARY = $(SHARED_LIBRARY)
|
||||
endif
|
||||
|
||||
# for compiler bug (http://support.microsoft.com/kb/982107) for MSVC x64
|
||||
ifdef _MSC_VER
|
||||
ifneq (,$(filter 1400 1500,$(_MSC_VER)))
|
||||
ifeq ($(OS_TEST),x86_64)
|
||||
ASFILES += jswin64.asm
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
ifeq (,$(MOZ_GLUE_PROGRAM_LDFLAGS))
|
||||
|
|
|
@ -25,12 +25,6 @@
|
|||
#define js_copysign copysign
|
||||
#endif
|
||||
|
||||
#if defined(_M_X64) && defined(_MSC_VER) && _MSC_VER <= 1500
|
||||
// This is a workaround for fmod bug (http://support.microsoft.com/kb/982107)
|
||||
extern "C" double js_myfmod(double x, double y);
|
||||
#define fmod js_myfmod
|
||||
#endif
|
||||
|
||||
/* Consistency wrapper for platform deviations in fmod() */
|
||||
static inline double
|
||||
js_fmod(double d, double d2)
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
; This Source Code Form is subject to the terms of the Mozilla Public
|
||||
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
|
||||
.CODE
|
||||
|
||||
extern fmod:PROC
|
||||
|
||||
; This is a workaround for KB982107 (http://support.microsoft.com/kb/982107)
|
||||
js_myfmod PROC FRAME
|
||||
.ENDPROLOG
|
||||
fnclex
|
||||
jmp fmod
|
||||
js_myfmod ENDP
|
||||
|
||||
END
|
Загрузка…
Ссылка в новой задаче