Ignore:
Timestamp:
Jul 25, 2008 10:45:34 AM (16 years ago)
Author:
bennylp
Message:

Fixed linking errors in pjnath when TCP is disabled in PJLIB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjturn-srv/listener_tcp.c

    r1913 r2177  
    2020#include <pj/compat/socket.h> 
    2121 
     22#if PJ_HAS_TCP 
     23 
    2224struct accept_op 
    2325{ 
     
    479481} 
    480482 
     483#else   /* PJ_HAS_TCP */ 
     484 
     485/* To avoid empty translation unit warning */ 
     486int listener_tcp_dummy = 0; 
     487 
     488#endif  /* PJ_HAS_TCP */ 
     489 
Note: See TracChangeset for help on using the changeset viewer.