Ignore:
Timestamp:
Jul 28, 2011, 2:03:14 PM (13 years ago)
Author:
Christoph Mayer
Message:

-fixes on protlib for android

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/transport/tcpip/protlib/logfile.h

    r9686 r9991  
    5353namespace log {
    5454
    55     static const pthread_mutex_t initlogmutex=
    56 #ifdef _DEBUG
    57   // PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; // use this for debugging, it will return errors on potential deadlock situations
    58   PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
    59 #else // should be recursive mutex because sometimes error log output sometimes occurs
    60   // while objects contents are logged
    61   PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; // PTHREAD_MUTEX_INITIALIZER;
    62 #endif
     55static const pthread_mutex_t initlogmutex=
     56    #ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
     57                PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
     58    #else
     59        PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
     60    #endif
    6361
    6462#undef ERROR_LOG
Note: See TracChangeset for help on using the changeset viewer.