Skip to content

Commit

Permalink
Add support for FreeBSD
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
AMDmi3 committed Feb 18, 2013
1 parent 4b520e8 commit 1753485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dagon/DGPlatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#define snprintf _snprintf
#endif

#elif __linux
#elif __linux || defined(__FreeBSD__)

#define DGPlatformLinux
#include <X11/Xlib.h>
Expand Down

0 comments on commit 1753485

Please sign in to comment.