winecrt0: Add _fltused symbol.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-05-05 16:29:06 +02:00 committed by Alexandre Julliard
parent 9666ed9c46
commit 053f07f602
2 changed files with 25 additions and 0 deletions

View File

@ -2,6 +2,7 @@ MODULE = libwinecrt0.a
C_SRCS = \
crt_dllmain.c \
crt_fltused.c \
debug.c \
delay_load.c \
dll_main.c \

View File

@ -0,0 +1,24 @@
/*
* Copyright 2020 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifdef _WIN32
/* referenced by MSVC to pull crt support for floating points. we don't use it. */
int _fltused = 0;
#endif