Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c

    r4238 r4537  
    116116}; 
    117117 
    118 #ifdef PJ_WIN32 
     118#if defined(PJ_WIN32) || defined(PJ_WIN64) 
    119119#  define S_ADDR S_un.S_addr 
    120120#else 
     
    138138    pj_ioqueue_op_key_t read_op, write_op; 
    139139    int bufsize = BUF_MIN_SIZE; 
    140     pj_ssize_t bytes, status = -1; 
     140    pj_ssize_t bytes; 
     141    int status = -1; 
    141142    pj_str_t temp; 
    142143    pj_bool_t send_pending, recv_pending; 
     
    769770        if (rc == PJ_SUCCESS) { 
    770771            if (bytes < 0) { 
    771                 app_perror("...error: pj_ioqueue_sendto()", -bytes); 
     772                app_perror("...error: pj_ioqueue_sendto()",(pj_status_t)-bytes); 
    772773                break; 
    773774            } 
Note: See TracChangeset for help on using the changeset viewer.