Descent3/legacy
Chris Sarbora 3da53e567f
Programmatically replace all __LINUX__ with POSIX
Steps:
```sh
srcs=$(mktemp)
find . -name "*.cpp" -or -name "*.c" -or -name "*.h" -or -name "*.hpp" -or -name "*.cc" -or -name "*.hh" > $srcs
xargs sed -i 's/ifndef __LINUX__/if !defined(POSIX)/' < $srcs
xargs sed -i 's/ifdef __LINUX__/if defined(POSIX)/' < $srcs
xargs sed -i 's/defined(__LINUX__)/defined(POSIX)/' < $srcs
```
2024-07-12 18:11:54 -05:00
..
briefinglocalizer Programmatically replace all __LINUX__ with POSIX 2024-07-12 18:11:54 -05:00
D3Launch
FontEditor
hogedit
hogmaker
inetfile Programmatically replace all __LINUX__ with POSIX 2024-07-12 18:11:54 -05:00
musicutils
powerball
renderer Programmatically replace all __LINUX__ with POSIX 2024-07-12 18:11:54 -05:00