platform: add freebsd platform defines

This commit is contained in:
Danny Robson 2016-05-13 15:23:22 +10:00
parent c3e2e1ae44
commit 02c0d6ce69

View File

@ -23,6 +23,9 @@
#elif defined(__linux__) || defined (__linux)
#define PLATFORM_LINUX
#define PLATFORM_SUFFIX "linux"
#elif defined(__FreeBSD__)
#define PLATFORM_FREEBSD
#define PLATFORM_SUFFIX "freebsd"
#elif defined(__WIN32) || defined (_WIN32)
#define PLATFORM_WIN32
#define PLATFORM_SUFFIX "win32"