mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-29 22:52:17 +00:00
FreeBSD support and clean up of unnecessary ifdef FREEBSD
This commit is contained in:
1 parent
9ea71dd94f
commit
73a4e87379
11 files changed
+33
-12
No files matched your search
+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