Haiku Support
Hope I didn't break things!
This commit is contained in:
2
deps/jamlib/mbase.c
vendored
2
deps/jamlib/mbase.c
vendored
@@ -85,7 +85,7 @@
|
||||
#if defined( __LINUX__ )
|
||||
#include <sys/file.h>
|
||||
#include <unistd.h>
|
||||
#if defined(__sun) || defined(__MUSL__)
|
||||
#if defined(__sun) || defined(__MUSL__) || defined(__HAIKU__)
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#endif
|
||||
|
4
deps/libuuid/randutils.c
vendored
4
deps/libuuid/randutils.c
vendored
@@ -12,9 +12,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifndef __HAIKU__
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#endif
|
||||
#include "randutils.h"
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
|
2
deps/odoors/OpenDoor.h
vendored
2
deps/odoors/OpenDoor.h
vendored
@@ -96,7 +96,7 @@
|
||||
#define OD_DLL
|
||||
#endif /* !OD_WIN32_STATIC */
|
||||
#else /* !WIN32 */
|
||||
#if defined(__unix__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__sun)
|
||||
#if defined(__unix__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__sun) || defined(__HAIKU__)
|
||||
#define ODPLAT_NIX
|
||||
#undef ODPLAT_DOS
|
||||
#undef DIRSEP
|
||||
|
Reference in New Issue
Block a user