Ignore:
Timestamp:
Mar 5, 2014 6:48:59 AM (10 years ago)
Author:
riza
Message:

Re #1704:

  • Fix duplicate code on os_winphone.h
  • Change the use of PJ_WIN32_WINPHONE to follow the code convention
  • Fix incorrect link of the Thread library
  • Handle exception raised from select() API. However the break window will still be shown when debugging on Visual Studio. To disable it, from Debug>Exceptions>Win32 Exceptions> unmark the "An invalid handle was specified” exception.
File:
1 edited

Legend:

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

    r4629 r4777  
    187187#elif defined(_MSC_VER) 
    188188    { 
    189         #ifdef PJ_WIN32_WINPHONE 
     189        #if defined(PJ_WIN32_WINPHONE) && PJ_WIN32_WINPHONE 
    190190            si.os_name = pj_str("winphone"); 
    191191        #else 
     
    210210        SYSTEM_INFO wsi; 
    211211 
    212     #ifdef PJ_WIN32_WINPHONE 
     212    #if defined(PJ_WIN32_WINPHONE) && PJ_WIN32_WINPHONE 
    213213        GetNativeSystemInfo(&wsi); 
    214214    #else 
     
    238238    #endif      /* PJ_WIN32_WINCE || PJ_WIN32_WINPHONE */ 
    239239        } 
    240     #ifdef PJ_WIN32_WINPHONE 
     240    #if defined(PJ_WIN32_WINPHONE) && PJ_WIN32_WINPHONE 
    241241        /* Avoid compile warning. */ 
    242242        goto get_sdk_info; 
Note: See TracChangeset for help on using the changeset viewer.