Skip to content

Commit 1753485

Browse files
committed
Add support for FreeBSD
Other than this, only Makefile changes (include/lib paths) are required to build the engine on FreeBSD. It seems to run as well, however frames are only changed when mouse is moved (e.g. when there're no input events, fps is frozen).
1 parent 4b520e8 commit 1753485

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dagon/DGPlatform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#define snprintf _snprintf
5353
#endif
5454

55-
#elif __linux
55+
#elif __linux || defined(__FreeBSD__)
5656

5757
#define DGPlatformLinux
5858
#include <X11/Xlib.h>

0 commit comments

Comments
 (0)