2008-03-05 18:38:42 +01:00
|
|
|
#ifndef _OS_H_
|
|
|
|
|
#define _OS_H_
|
|
|
|
|
|
|
|
|
|
#if __linux__ || __NetBSD__ || __FreBSD__ || __OpenBSD__ || __Darwin__ || __MacOSX__
|
|
|
|
|
#define HAVE_SQUEUE 1
|
|
|
|
|
#else
|
|
|
|
|
#define HAVE_SQUEUE 0
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-03-06 17:58:06 +01:00
|
|
|
#if HAVE_SQUEUE
|
|
|
|
|
|
|
|
|
|
#include "squeue/squeue.h"
|
|
|
|
|
extern int qmode;
|
|
|
|
|
extern struct squeue_t *p;
|
|
|
|
|
|
2008-03-05 18:38:42 +01:00
|
|
|
#endif
|
2008-03-06 17:58:06 +01:00
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|