#endif
#else
#include "os-genunix.hpp"
- #if defined(__linux__)
+ #if defined(__FreeBSD__)
+ #define FACTOR_OS_STRING "freebsd"
+ #include "os-freebsd.hpp"
+ #include "os-freebsd-x86.64.hpp"
+ #elif defined(__linux__)
#define FACTOR_OS_STRING "linux"
#include "os-linux.hpp"
-
#if defined(FACTOR_X86)
#include "os-linux-x86.32.hpp"
#elif defined(FACTOR_PPC64)
#else
#error "Unsupported Linux flavor"
#endif
- #else
- #error "Unsupported OS"
#endif
#endif
#endif