File: flcwmax-x-thr.h

package info (click to toggle)
pd-flext 0.6.0%2Bgit20161101.1.01318a94-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,212 kB
  • ctags: 1,846
  • sloc: cpp: 13,015; makefile: 735; sh: 85
file content (31 lines) | stat: -rw-r--r-- 767 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* 

flext - C++ layer for Max/MSP and pd (pure data) externals

Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.  

*/

/*! \file flcwmax-x-thr.h
    \brief Prefix file for CodeWarrior projects - OS X threaded version.
*/
 
#ifndef _FLEXT_CW_MAX_X_THR_H
#define _FLEXT_CW_MAX_X_THR_H

#define FLEXT_THREADS

/*
    old CodeWarrior version (<= 6) don't have sigset_t defined which
    is needed for pthreads
*/
#if defined(__MWERKS__) && (__MWERKS__ == 1)  // read __MWERKS__ numbering starts with CW7
    typedef unsigned int sigset_t;
    #define _CW_NOPRECOMP // no precompiled headers
#endif

#include "flcwmax-x.h"

#endif