From c8e626c21f9fd0b094e8c698727dd358f0567ec3 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Mon, 3 Oct 2022 17:58:20 -0700 Subject: [PATCH] add FreeBSD define to icd_platform.h --- loader/icd_platform.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/loader/icd_platform.h b/loader/icd_platform.h index 57664c4b..f6063711 100644 --- a/loader/icd_platform.h +++ b/loader/icd_platform.h @@ -19,7 +19,7 @@ #ifndef _ICD_PLATFORM_H_ #define _ICD_PLATFORM_H_ -#if defined(__linux__) || defined(__APPLE__) +#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) #define PATH_SEPARATOR ':' #define DIRECTORY_SYMBOL '/' @@ -36,6 +36,8 @@ #define PATH_SEPARATOR ';' #define DIRECTORY_SYMBOL '\\' +#else +#error Unknown OS! #endif #endif