Ignore:
Timestamp:
Jun 28, 2011, 6:48:51 PM (14 years ago)
Author:
Silvan Scherrer
Message:

samba client 2.1: prepare for 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/src/ndpsmb.c

    r567 r584  
    133133static int ifL;
    134134
    135 /* A mutex to serialize plugin calls because libsmb 3.3 is not thread safe. */
    136 /* while libsbm 3.5 should be threadsafe again, remember to remove it then */
     135/* A mutex to serialize plugin calls because libsmb may not be thread safe. */
    137136static NDMUTEX mutex;
    138137       
     
    156155    ph->fsphReleaseMutex (mutex);
    157156}
     157
     158#ifndef LIBSMB_THREAD_SAFE
    158159
    159160#define ENTER() do {            \
     
    163164} while (0)
    164165
    165 #define LEAVE()  do { \
     166#define LEAVE() do { \
    166167    lockRelease();    \
    167168} while (0)
     169
     170#else
     171#define ENTER() do { /* nothing */ } while (0)
     172#define LEAVE() do { /* nothing */ } while (0)
     173#endif
    168174
    169175int APIENTRY NdpPluginLoad (PLUGINHELPERTABLE2L *pPHT)
Note: See TracChangeset for help on using the changeset viewer.