Fixes for FreeBSD.

This commit is contained in:
crs
2004-05-01 11:01:40 +00:00
parent 165c889c5d
commit 975d888d65
3 changed files with 9 additions and 3 deletions

View File

@@ -67,6 +67,12 @@
#define __FP__
#endif
// Need this on FreeBSD to get nanosleep. We can't define this on, say,
// Linux because that unconditionally defines it.
#if defined(__FreeBSD__)
#define _POSIX_VERSION 199506L
#endif
// define NULL
#ifndef NULL
#define NULL 0