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/file_io_win32.c

    r4629 r4777  
    8989    dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL; 
    9090 
    91 #ifdef PJ_WIN32_WINPHONE   
     91#if defined(PJ_WIN32_WINPHONE) && PJ_WIN32_WINPHONE   
    9292    hFile = CreateFile2(PJ_STRING_TO_NATIVE(pathname, 
    9393                                            wpathname,sizeof(wpathname)),  
     
    190190                                    DWORD dwMoveMethod) 
    191191{ 
    192 #ifdef PJ_WIN32_WINPHONE 
     192#if defined(PJ_WIN32_WINPHONE) && PJ_WIN32_WINPHONE 
    193193    LARGE_INTEGER liDistance, liNewPos;     
    194194 
Note: See TracChangeset for help on using the changeset viewer.