head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.05.04.12.28.52; author nia; state Exp; branches; next ; commitid JAlHJSIZQR6MIuEG; desc @@ 1.1 log @jfsw: Initial import. JFShadowWarrior is 3D Realms' 1997 shooter Shadow Warrior updated for modern computers. An OpenGL 2 implementation is required. Game data is required from a copy of Shadow Warrior (e.g. from GOG.com, Humble Store, or the shareware version). If using the shareware version, extract SWSW12.SHR to $HOME/.jfsw. Verified to build on FreeBSD, NetBSD, macOS, Linux (retro & modern). @ text @$NetBSD$ Only include on systems that have it. --- jfaudiolib/src/midi.c.orig 2025-12-26 07:57:03.000000000 +0000 +++ jfaudiolib/src/midi.c @@@@ -34,7 +34,7 @@@@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, #include #ifdef _WIN32 # include -#else +#elif defined(__linux__) || defined(__sun) # include #endif #include "sndcards.h" @