summaryrefslogtreecommitdiffstats
path: root/src/os.h
blob: 69ba51f8070c4f24ba9cca4d45f088206b3ccbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _OS_H_
#define _OS_H_

#if __linux__ || __NetBSD__ || __FreBSD__ || __OpenBSD__ || __Darwin__ || __MacOSX__
#define HAVE_SQUEUE 1
#else
#define HAVE_SQUEUE 0
#endif

#if HAVE_SQUEUE

#include "squeue/squeue.h"
extern int qmode;
extern struct squeue_t *p;

#endif

#endif