Mercurial > minori
diff dep/animia/src/fd.cc @ 153:bd439dd6ffc5
*: make win stuff actually work, rename bsd.cc to xnu.cc
It's been OS X only for ages, and these functions are different between
most BSDs anyway
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 13:28:18 -0500 |
parents | 8700806c2cc2 |
children | cdf79282d647 |
line wrap: on
line diff
--- a/dep/animia/src/fd.cc Wed Nov 15 02:34:59 2023 -0500 +++ b/dep/animia/src/fd.cc Wed Nov 15 13:28:18 2023 -0500 @@ -4,8 +4,8 @@ # include "animia/fd/win32.h" #elif defined(LINUX) # include "animia/fd/linux.h" -#elif defined(UNIX) -# include "animia/fd/bsd.h" +#elif defined(MACOSX) +# include "animia/fd/xnu.h" #endif namespace animia::internal { @@ -14,8 +14,8 @@ win32::Win32FdTools os_fd; #elif defined(LINUX) linux::LinuxFdTools os_fd; -#elif defined(UNIX) -unix::UnixFdTools os_fd; +#elif defined(MACOSX) +xnu::XnuFdTools os_fd; #else BaseFdTools os_fd; #endif