Ignore:
Timestamp:
Aug 6, 2010 7:18:08 AM (14 years ago)
Author:
nanang
Message:

Misc (re #1068): fix compile errors/warnings on Symbian S60 5th ed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/log.c

    r2868 r3255  
    3131static int pj_log_max_level = PJ_LOG_MAX_LEVEL; 
    3232#endif 
     33 
     34#if PJ_HAS_THREADS 
    3335static long thread_suspended_tls_id = -1; 
     36#endif 
     37 
    3438static pj_log_func *log_writer = &pj_log_write; 
    3539static unsigned log_decor = PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC | 
     
    6872#endif 
    6973 
     74#if PJ_HAS_THREADS 
    7075static void logging_shutdown(void) 
    7176{ 
    72 #if PJ_HAS_THREADS 
    7377    if (thread_suspended_tls_id != -1) { 
    7478        pj_thread_local_free(thread_suspended_tls_id); 
    7579        thread_suspended_tls_id = -1; 
    7680    } 
    77 #endif 
    78 } 
     81} 
     82#endif 
    7983 
    8084pj_status_t pj_log_init(void) 
Note: See TracChangeset for help on using the changeset viewer.