comparison dep/animia/src/fd.cc @ 150:ffa535b6d630

*: avoid usage of std::[pair,tuple] https://arne-mertz.de/2017/03/smelly-pair-tuple/ it's better to use real structures and such where variables are easily known... also apparently using [] on structs is actually valid? I had no idea.
author Paper <mrpapersonic@gmail.com>
date Tue, 14 Nov 2023 16:27:33 -0500
parents d8a61e7e2a36
children 8700806c2cc2
comparison
equal deleted inserted replaced
149:e41505d24733 150:ffa535b6d630
1 #include "animia/os.h"
1 #include "animia/fd.h" 2 #include "animia/fd.h"
2 3
3 #ifdef ANIMIA_ON_WIN32 4 #ifdef ANIMIA_ON_WIN32
4 # include "animia/fd/win32.h" 5 # include "animia/fd/win32.h"
5 #elif defined(ANIMIA_ON_LINUX) 6 #elif defined(ANIMIA_ON_LINUX)