/* $Id: tbb_demos.h 1135 2006-09-06 07:53:02Z olau $ */

/* Copyright (C) 2006 Oliver Lau <ola@ctmagazin.de>, Heise Zeitschriften Verlag */

#ifndef __TBB_DEMOS_H_
#define __TBB_DEMOS_H_


#ifndef min
#define min(a, b)  (((a) < (b))? (a) : (b))
#endif

#ifndef max
#define max(a, b)  (((a) > (b))? (a) : (b))
#endif


#ifdef __cplusplus
extern "C" {
#endif

extern int getNumTBBThreads(void);

#ifdef __cplusplus
}
#endif

#endif /* __TBB_DEMOS_H_ */
