Mercurial > vim
comparison src/os_mac_conv.c @ 30310:029c59bf78f1 v9.0.0491
patch 9.0.0491: no good reason to build without the float feature
Commit: https://github.com/vim/vim/commit/73e28dcc6125f616cf1f2d56443d22428a79e434
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 21:08:33 2022 +0100
patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 22:15:05 +0200 |
parents | fc859aea8cec |
children | 3365a601e73b |
comparison
equal
deleted
inserted
replaced
30309:4ba3d27b5357 | 30310:029c59bf78f1 |
---|---|
583 strcat(buf, ".UTF-8"); | 583 strcat(buf, ".UTF-8"); |
584 vim_setenv((char_u *)"LANG", (char_u *)buf); | 584 vim_setenv((char_u *)"LANG", (char_u *)buf); |
585 # ifdef HAVE_LOCALE_H | 585 # ifdef HAVE_LOCALE_H |
586 setlocale(LC_ALL, ""); | 586 setlocale(LC_ALL, ""); |
587 # endif | 587 # endif |
588 # if defined(FEAT_FLOAT) && defined(LC_NUMERIC) | 588 # if defined(LC_NUMERIC) |
589 // Make sure strtod() uses a decimal point, not a comma. | 589 // Make sure strtod() uses a decimal point, not a comma. |
590 setlocale(LC_NUMERIC, "C"); | 590 setlocale(LC_NUMERIC, "C"); |
591 # endif | 591 # endif |
592 } | 592 } |
593 } | 593 } |