/[svn]/linuxsampler/trunk/src/common/Mutex.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Mutex.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3053 by senoner, Wed Nov 14 23:42:15 2007 UTC revision 3054 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2016 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 25  Line 25 
25  # include <config.h>  # include <config.h>
26  #endif  #endif
27    
28    #if AC_APPLE_UNIVERSAL_BUILD // maybe do this include for all Apple ones (defined(__APPLE__))?
29    # include <sys/cdefs.h> // defines the system macros checked below
30    #endif
31    
32  #ifndef _GNU_SOURCE  #ifndef _GNU_SOURCE
33  # define _GNU_SOURCE 1 /* so _XOPEN_SOURCE will be defined by features.h */  # define _GNU_SOURCE 1 /* so _XOPEN_SOURCE will be defined by features.h */
34  #endif  #endif
# Line 34  Line 38 
38  #endif  #endif
39    
40  #if !defined(WIN32)  #if !defined(WIN32)
41  #if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 500  # if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
42  # undef _XOPEN_SOURCE  #  undef _XOPEN_SOURCE
43  # define _XOPEN_SOURCE 500 /* to define PTHREAD_MUTEX_ERRORCHECK */  #  define _XOPEN_SOURCE 500 /* to define PTHREAD_MUTEX_ERRORCHECK */
44  # warning "Seems you don't have a UNIX98 compatible system."  #  if (!defined(POSIX_C_SOURCE) || POSIX_C_SOURCE < 199801L) && !defined(__DARWIN_UNIX03)
45  # warning "Please run LinuxSampler's selftest to make sure this won't be a problem!"  #   warning "Seems you don't have a UNIX98 compatible system."
46  # warning "(compile tests with 'make tests', run them with 'src/testcases/linuxsamplertest')"  #   warning "Please run LinuxSampler's selftest to make sure this won't be a problem!"
47  #endif  #   warning "(compile tests with 'make tests', run them with 'src/testcases/linuxsamplertest')"
48    #  endif
49    # endif
50  #endif  #endif
51    
52  #include <iostream>  #include <iostream>

Legend:
Removed from v.3053  
changed lines
  Added in v.3054

  ViewVC Help
Powered by ViewVC