17 |
along with this program; if not, write to the Free Software |
along with this program; if not, write to the Free Software |
18 |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 |
|
|
20 |
$Id: atomic.h,v 1.2 2006-06-27 22:57:36 schoenebeck Exp $ |
$Id: atomic.h,v 1.3 2006-06-28 19:32:21 schoenebeck Exp $ |
21 |
*/ |
*/ |
22 |
|
|
23 |
//TODO: should we put this into namespace? it might clash with system installed atomic.h, because we need to install atomic.h for the LS API |
//TODO: should we put this into namespace? it might clash with system installed atomic.h, because we need to install atomic.h for the LS API |
25 |
#ifndef __linuxsampler_atomic_h__ |
#ifndef __linuxsampler_atomic_h__ |
26 |
#define __linuxsampler_atomic_h__ |
#define __linuxsampler_atomic_h__ |
27 |
|
|
28 |
#ifdef HAVE_CONFIG_H |
// needed to automatically include config.h |
29 |
#include <config.h> /* config.h c/o auto* tools, wherever it may be */ |
#include "global.h" |
|
#endif |
|
30 |
|
|
31 |
#ifdef HAVE_SMP /* a macro we control, to manage ... */ |
#ifdef HAVE_SMP /* a macro we control, to manage ... */ |
32 |
#define CONFIG_SMP /* ... the macro the kernel headers use */ |
#define CONFIG_SMP /* ... the macro the kernel headers use */ |