Changeset 139 for trunk/src


Ignore:
Timestamp:
Oct 28, 2007, 4:59:22 PM (17 years ago)
Author:
rainer
Message:

Detect availability of recursive mutexes on Linux.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_mem.c

    r138 r139  
    1919
    2020#include "config_xor.h"
     21
     22#if defined(HAVE_PTHREAD_MUTEX_RECURSIVE)
     23#define _XOPEN_SOURCE 500
     24#endif
    2125
    2226#include <stdio.h>
  • trunk/src/sh_pthread.c

    r138 r139  
    1515}
    1616
    17 
     17#if !defined(HAVE_PTHREAD_MUTEX_RECURSIVE)
    1818/**
    1919 * libxml2 threads.c: set of generic threading related routines
     
    7373}
    7474#endif
     75
     76
     77#endif
Note: See TracChangeset for help on using the changeset viewer.