From a6a6f55fbe9b78e82827592fe5fca506a17833fb Mon Sep 17 00:00:00 2001 From: Brodie Thiesfield Date: Thu, 20 Sep 2007 04:58:20 +0000 Subject: add test for wince --- SimpleIni.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleIni.h b/SimpleIni.h index 73e7485..cec872b 100644 --- a/SimpleIni.h +++ b/SimpleIni.h @@ -1108,7 +1108,7 @@ CSimpleIniTempl::LoadFile( { #ifdef _WIN32 FILE * fp = NULL; -#if __STDC_WANT_SECURE_LIB__ +#if __STDC_WANT_SECURE_LIB__ && !_WIN32_WCE _wfopen_s(&fp, a_pwszFile, L"rb"); #else fp = _wfopen(a_pwszFile, L"rb"); -- cgit v1.2.3