Changeset 5539 for pjproject/trunk/pjlib/src/pj/os_info.c
- Timestamp:
- Jan 23, 2017 4:32:34 AM (8 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/projects/uwp (added) merged: 5208,5210-5211,5254,5256,5298,5439,5470,5497,5511-5515,5526,5528-5529,5532,5538 -
Property
svn:global-ignores
set to
bin
obj
lib
Bin
output
Debug
Generated[^A-Ba-b0-9]Files
Service[^A-Ba-b0-9]References
*.opendb
*.db
*.user
- Property svn:mergeinfo changed
-
pjproject/trunk/pjlib/src/pj/os_info.c
r5520 r5539 197 197 #elif defined(_MSC_VER) 198 198 { 199 #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 200 si.os_name = pj_str("winphone"); 201 #else 199 202 OSVERSIONINFO ovi; 200 203 … … 211 214 si.os_name = pj_str("win32"); 212 215 #endif 216 #endif 213 217 } 214 218 … … 216 220 SYSTEM_INFO wsi; 217 221 222 #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 223 GetNativeSystemInfo(&wsi); 224 #else 218 225 GetSystemInfo(&wsi); 226 #endif 227 219 228 switch (wsi.wProcessorArchitecture) { 220 #if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE 229 #if (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE) || \ 230 (defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8) 221 231 case PROCESSOR_ARCHITECTURE_ARM: 222 232 si.machine = pj_str("arm"); … … 225 235 si.machine = pj_str("shx"); 226 236 break; 227 237 #else 228 238 case PROCESSOR_ARCHITECTURE_AMD64: 229 239 si.machine = pj_str("x86_64"); … … 235 245 si.machine = pj_str("i386"); 236 246 break; 237 247 #endif /* PJ_WIN32_WINCE */ 238 248 } 249 #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 250 /* Avoid compile warning. */ 251 goto get_sdk_info; 252 #endif 239 253 } 240 254 #elif defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0
Note: See TracChangeset
for help on using the changeset viewer.