math.hを明示的にインクルードするようにした。
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user