Mercurial > minori
view dep/animia/src/fd.cc @ 154:d43d68408d3c
dep/animia: fix XnuFdTools
also we use anitomy directly now.
HG Enter commit message. Lines beginning with 'HG:' are removed.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 15 Nov 2023 14:14:17 -0500 |
parents | bd439dd6ffc5 |
children | cdf79282d647 |
line wrap: on
line source
#include "animia/fd.h" #ifdef WIN32 # include "animia/fd/win32.h" #elif defined(LINUX) # include "animia/fd/linux.h" #elif defined(MACOSX) # include "animia/fd/xnu.h" #endif namespace animia::internal { #ifdef WIN32 win32::Win32FdTools os_fd; #elif defined(LINUX) linux::LinuxFdTools os_fd; #elif defined(MACOSX) xnu::XnuFdTools os_fd; #else BaseFdTools os_fd; #endif BaseFdTools& fd = os_fd; }