flext 0.6.2
flfeatures.h
Go to the documentation of this file.
1/*
2flext - C++ layer for Max and Pure Data externals
3
4Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
5For information on usage and redistribution, and for a DISCLAIMER OF ALL
6WARRANTIES, see the file, "license.txt," in this distribution.
7*/
8
13#ifndef __FLFEATURES_H
14#define __FLFEATURES_H
15
16// check if PD API supports buffer dirty time
17#if defined(PD_DEVEL_VERSION) && defined(PD_MAJOR_VERSION) && defined(PD_MINOR_VERSION)
18#if PD_MINOR_VERSION >= 36 && PD_MINOR_VERSION <= 38
19// array locks have been removed in devel_0_39
20 #define _FLEXT_HAVE_PD_GARRAYLOCKS
21#endif
22#if PD_MINOR_VERSION >= 36
23 #define _FLEXT_HAVE_PD_GARRAYUPDATETIME
24#endif
25#endif
26
27#if defined(MAC_VERSION) || defined(WIN_VERSION)
28 // not for OS9
29 #define _FLEXT_HAVE_MAX_INUSEFLAG
30#endif
31
32#endif