math.hを明示的にインクルードするようにした。

This commit is contained in:
Tatsuhiko Syoji
2023-09-02 20:49:21 +09:00
parent 783ba74fdd
commit 1a700d5199
3 changed files with 2 additions and 5 deletions

View File

@@ -62,8 +62,6 @@ void initializeLocale(void)
{
TCHAR iniPath[MAX_PATH];
TCHAR *p;
TCHAR langWork[64];
TCHAR findPath[MAX_PATH];
TCHAR langFileName[MAX_PATH];
::GetModuleFileName(NULL, iniPath, _MAX_PATH);
@@ -135,9 +133,6 @@ void setResourceFileName(TCHAR * langFileName, TCHAR * helpFileName, char*system
_setmbcp(_MB_CP_LOCALE);
}
//localeName = "aaa";
int readResult;
// Language detection
if (wcsstr(langWork, L"ko-KR") != NULL) {
isKorean = true;

View File

@@ -20,6 +20,7 @@ The sources for noMeiryoUI are distributed under the MIT open source license
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <math.h>
#include <tchar.h>
#include "resource.h"

View File

@@ -4,6 +4,7 @@ The sources for noMeiryoUI are distributed under the MIT open source license
*/
#pragma warning(disable : 4996)
#include <math.h>
#include "util.h"
#include "iniReader.h"