From f3eb7559d62fbbee940ac89f34519cc39ea6c91d Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Thu, 6 Jun 2024 09:34:28 +0800 Subject: Change LL_FREEBSD to already existing __FreeBSD__ So we don't need to have a custom environment -DLL_FREEBSD=1 setting. --- indra/llcommon/lltimer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/llcommon/lltimer.cpp') diff --git a/indra/llcommon/lltimer.cpp b/indra/llcommon/lltimer.cpp index 1f644d0a1e..00a04d87b6 100644 --- a/indra/llcommon/lltimer.cpp +++ b/indra/llcommon/lltimer.cpp @@ -35,7 +35,7 @@ #if LL_WINDOWS # include "llwin32headerslean.h" -#elif LL_LINUX || LL_DARWIN || LL_FREEBSD +#elif LL_LINUX || LL_DARWIN || __FreeBSD__ # include # include #else @@ -115,7 +115,7 @@ void ms_sleep(U32 ms) #endif -#elif LL_LINUX || LL_DARWIN || LL_FREEBSD +#elif LL_LINUX || LL_DARWIN || __FreeBSD__ static void _sleep_loop(struct timespec& thiswait) { struct timespec nextwait; @@ -233,7 +233,7 @@ F64 calc_clock_frequency() #endif // LL_WINDOWS -#if LL_LINUX || LL_DARWIN || LL_FREEBSD +#if LL_LINUX || LL_DARWIN || __FreeBSD__ // Both Linux and Mac use gettimeofday for accurate time F64 calc_clock_frequency() { -- cgit v1.2.3