Changeset 5210 for pjproject/branches/projects/uwp/pjlib/src/pj/os_info.c
- Timestamp:
- Dec 10, 2015 1:58:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp/pjlib/src/pj/os_info.c
r4610 r5210 193 193 #elif defined(_MSC_VER) 194 194 { 195 #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 196 si.os_name = pj_str("winphone"); 197 #else 195 198 OSVERSIONINFO ovi; 196 199 … … 207 210 si.os_name = pj_str("win32"); 208 211 #endif 212 #endif 209 213 } 210 214 … … 212 216 SYSTEM_INFO wsi; 213 217 218 #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 219 GetNativeSystemInfo(&wsi); 220 #else 214 221 GetSystemInfo(&wsi); 222 #endif 223 215 224 switch (wsi.wProcessorArchitecture) { 216 #if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE 225 #if (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE) || \ 226 (defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8) 217 227 case PROCESSOR_ARCHITECTURE_ARM: 218 228 si.machine = pj_str("arm"); … … 233 243 #endif /* PJ_WIN32_WINCE */ 234 244 } 245 #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 246 /* Avoid compile warning. */ 247 goto get_sdk_info; 248 #endif 235 249 } 236 250 #elif defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0
Note: See TracChangeset
for help on using the changeset viewer.