Changeset - 95ba00c2fe6a
[Not reviewed]
0 2 0
Jan Kaluza - 13 years ago 2012-10-04 10:47:24
hanzz.k@gmail.com
Use __FreeBSD__ instead of BSD
2 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -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
src/usermanager.cpp
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)