nuttx/libs/libc/stdlib
chao an 09c006b9c8 libs: fix visual studio Compiler Error C2124
D:\code\incubator-nuttx\libs\libc\stdlib\lib_strtod.c: error C2124: divide or mod by zero

Windows MSVC restrictions, MSVC doesn't allow division through a
zero literal, but allows it through non-const variable set to zero

Reference:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2124?view=msvc-170

Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-26 04:40:09 +08:00
..
Kconfig libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
lib_abort.c
lib_abs.c
lib_aligned_alloc.c
lib_atexit.c libc/stdio: Generate the dummy atexit and on_exit 2022-06-07 20:14:34 +03:00
lib_atof.c
lib_atoi.c
lib_atol.c
lib_atoll.c
lib_bsearch.c
lib_checkbase.c
lib_cxa_atexit.c libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
lib_div.c
lib_exit.c libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
lib_getprogname.c
lib_itoa.c
lib_labs.c
lib_ldiv.c
lib_llabs.c
lib_lldiv.c
lib_mblen.c libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
lib_mbstowcs.c libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
lib_mbtowc.c libc/wchar: support wchar 2022-07-27 00:36:49 +08:00
lib_mkdtemp.c
lib_mkstemp.c
lib_mktemp.c
lib_onexit.c libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
lib_openpty.c libc: posix_openpty should use the absolute path("dev/ptmx") 2022-02-14 08:43:05 +09:00
lib_posix_memalign.c
lib_ptsname.c
lib_ptsnamer.c
lib_qsort.c
lib_rand.c
lib_realpath.c libc: Don't duplicate string in chdir and lib_restoredir 2022-04-18 10:36:36 +03:00
lib_srand.c
lib_strtod.c libs: fix visual studio Compiler Error C2124 2022-09-26 04:40:09 +08:00
lib_strtof.c libc: Port strtod fixes to strtof, strtold and improve comments 2022-08-30 09:47:50 +08:00
lib_strtol.c
lib_strtold.c libs: fix visual studio Compiler Error C2124 2022-09-26 04:40:09 +08:00
lib_strtoll.c
lib_strtoul.c
lib_strtoull.c
lib_unlockpt.c
lib_valloc.c
lib_wcstombs.c libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
lib_wctomb.c libc/wchar: support wchar 2022-07-27 00:36:49 +08:00
Make.defs libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00