mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 17:58:16 +00:00
FreeBSD support and clean up of unnecessary ifdef FREEBSD
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ Mutex::Mutex() {
|
||||
#else
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_init(&attr);
|
||||
#if defined(__CYGWIN__) || defined(__APPLE__)
|
||||
#if defined(__CYGWIN__) || defined(__APPLE__) || defined(FREEBSD)
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
#else
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
#include "eqemu_exception.h"
|
||||
#ifdef FREEBSD
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
namespace EQEmu {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user