Ignore:
Timestamp:
Dec 10, 2015 1:58:38 AM (9 years ago)
Author:
riza
Message:

Re #1900: Initial implementation with pjsua cli/telnet sample app.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp/pjlib/src/pj/os_info.c

    r4610 r5210  
    193193#elif defined(_MSC_VER) 
    194194    { 
     195    #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 
     196        si.os_name = pj_str("winphone"); 
     197    #else 
    195198        OSVERSIONINFO ovi; 
    196199 
     
    207210            si.os_name = pj_str("win32"); 
    208211        #endif 
     212    #endif 
    209213    } 
    210214 
     
    212216        SYSTEM_INFO wsi; 
    213217 
     218    #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 
     219        GetNativeSystemInfo(&wsi); 
     220    #else 
    214221        GetSystemInfo(&wsi); 
     222    #endif 
     223         
    215224        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) 
    217227        case PROCESSOR_ARCHITECTURE_ARM: 
    218228            si.machine = pj_str("arm"); 
     
    233243    #endif      /* PJ_WIN32_WINCE */ 
    234244        } 
     245    #if defined(PJ_WIN32_WINPHONE8) && PJ_WIN32_WINPHONE8 
     246        /* Avoid compile warning. */ 
     247        goto get_sdk_info; 
     248    #endif 
    235249    } 
    236250#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 
Note: See TracChangeset for help on using the changeset viewer.