mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
3da53e567f
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 ``` |
||
---|---|---|
.. | ||
tests | ||
cfile.cpp | ||
cfile.h | ||
CMakeLists.txt | ||
hogfile.cpp | ||
hogfile.h | ||
inffile.cpp | ||
inffile.h |