Updated a few old BONE references to use the new build system defines.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14744 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander G.M. Smith 2005-11-07 12:57:55 +00:00
parent c76154732b
commit 1663fe079b
3 changed files with 4 additions and 10 deletions

View File

@ -70,8 +70,8 @@ All rights reserved.
using namespace BPrivate ;
#ifndef BONE
# include <netdb.h>
#ifdef HAIKU_TARGET_PLATFORM_BEOS
#include <netdb.h>
#endif
#include "Mail.h"

View File

@ -12,12 +12,6 @@ if $(CHECK_MALLOC) {
SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
}
if $(BONE_COMPATIBLE) {
SubDirC++Flags -DBONE ;
} else {
SubDirC++Flags -DBUILDING_R5_LIBNET ;
}
SubDirC++Flags -D_BUILDING_mail=1 -DUSE_NASTY_SYNC_THREAD_HACK=1 ;
UsePrivateHeaders textencoding ;

View File

@ -24,7 +24,7 @@
#include <ctype.h>
#include <parsedate.h>
#ifdef BONE
#ifndef HAIKU_TARGET_PLATFORM_BEOS
#include <sys/socket.h>
#define BONE_SERIAL_PPP_GET_STATUS 0xbe230501
#define BSPPP_CONNECTED 4
@ -897,7 +897,7 @@ BEmailMessage::Send(bool send_now)
if (status >= B_OK && send_now) {
BMailSettings settings_file;
if (settings_file.SendOnlyIfPPPUp()) {
#ifdef BONE
#ifndef HAIKU_TARGET_PLATFORM_BEOS
int s = socket(AF_INET, SOCK_DGRAM, 0);
bsppp_status_t ppp_status;