diff dep/animia/src/fd.cc @ 152:8700806c2cc2

dep/animia: awesome new breaking changes! I'm so tired
author Paper <mrpapersonic@gmail.com>
date Wed, 15 Nov 2023 02:34:59 -0500
parents ffa535b6d630
children bd439dd6ffc5
line wrap: on
line diff
--- a/dep/animia/src/fd.cc	Tue Nov 14 16:31:21 2023 -0500
+++ b/dep/animia/src/fd.cc	Wed Nov 15 02:34:59 2023 -0500
@@ -1,23 +1,20 @@
-#include "animia/os.h"
 #include "animia/fd.h"
 
-#ifdef ANIMIA_ON_WIN32
+#ifdef WIN32
 #	include "animia/fd/win32.h"
-#elif defined(ANIMIA_ON_LINUX)
+#elif defined(LINUX)
 #	include "animia/fd/linux.h"
-#elif defined(ANIMIA_ON_UNIX)
+#elif defined(UNIX)
 #	include "animia/fd/bsd.h"
 #endif
 
 namespace animia::internal {
 
-/* really stupid hack to get fd to point to the right
-   thing */
-#ifdef ANIMIA_ON_WIN32
+#ifdef WIN32
 win32::Win32FdTools os_fd;
-#elif defined(ANIMIA_ON_LINUX)
+#elif defined(LINUX)
 linux::LinuxFdTools os_fd;
-#elif defined(ANIMIA_ON_UNIX)
+#elif defined(UNIX)
 unix::UnixFdTools os_fd;
 #else
 BaseFdTools os_fd;