* Make qmode be functional * Lot of hardcore fixups on squeue_open - Should work now everywhere fine asumid UID 1000 as allowed user - Reduce timeouts - Add push2 method
20 lines
280 B
C
20 lines
280 B
C
#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
|
|
|