Use __FreeBSD__ instead of BSD
This commit is contained in:
parent
6245840e7c
commit
95ba00c2fe
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
|||
#include "geventloop.h"
|
||||
|
||||
// #include "valgrind/memcheck.h"
|
||||
#ifndef BSD
|
||||
#ifndef __FreeBSD__
|
||||
#include "malloc.h"
|
||||
#endif
|
||||
#include <algorithm>
|
||||
|
@ -366,7 +366,7 @@ class SpectrumNetworkPlugin : public NetworkPlugin {
|
|||
|
||||
purple_accounts_delete_wrapped(account);
|
||||
#ifndef WIN32
|
||||
#ifndef BSD
|
||||
#ifndef __FreeBSD__
|
||||
malloc_trim(0);
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "Swiften/Swiften.h"
|
||||
#include "Swiften/Server/ServerStanzaChannel.h"
|
||||
#include "Swiften/Elements/StreamError.h"
|
||||
#ifndef BSD
|
||||
#ifndef __FreeBSD__
|
||||
#include "malloc.h"
|
||||
#endif
|
||||
// #include "valgrind/memcheck.h"
|
||||
|
@ -126,7 +126,7 @@ void UserManager::removeUser(User *user, bool onUserBehalf) {
|
|||
onUserDestroyed(user);
|
||||
delete user;
|
||||
#ifndef WIN32
|
||||
#ifndef BSD
|
||||
#ifndef __FreeBSD__
|
||||
malloc_trim(0);
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue