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:
@@ -70,8 +70,8 @@ All rights reserved.
|
|||||||
|
|
||||||
using namespace BPrivate ;
|
using namespace BPrivate ;
|
||||||
|
|
||||||
#ifndef BONE
|
#ifdef HAIKU_TARGET_PLATFORM_BEOS
|
||||||
# include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "Mail.h"
|
#include "Mail.h"
|
||||||
|
|||||||
@@ -12,12 +12,6 @@ if $(CHECK_MALLOC) {
|
|||||||
SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
|
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 ;
|
SubDirC++Flags -D_BUILDING_mail=1 -DUSE_NASTY_SYNC_THREAD_HACK=1 ;
|
||||||
|
|
||||||
UsePrivateHeaders textencoding ;
|
UsePrivateHeaders textencoding ;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <parsedate.h>
|
#include <parsedate.h>
|
||||||
|
|
||||||
#ifdef BONE
|
#ifndef HAIKU_TARGET_PLATFORM_BEOS
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#define BONE_SERIAL_PPP_GET_STATUS 0xbe230501
|
#define BONE_SERIAL_PPP_GET_STATUS 0xbe230501
|
||||||
#define BSPPP_CONNECTED 4
|
#define BSPPP_CONNECTED 4
|
||||||
@@ -897,7 +897,7 @@ BEmailMessage::Send(bool send_now)
|
|||||||
if (status >= B_OK && send_now) {
|
if (status >= B_OK && send_now) {
|
||||||
BMailSettings settings_file;
|
BMailSettings settings_file;
|
||||||
if (settings_file.SendOnlyIfPPPUp()) {
|
if (settings_file.SendOnlyIfPPPUp()) {
|
||||||
#ifdef BONE
|
#ifndef HAIKU_TARGET_PLATFORM_BEOS
|
||||||
int s = socket(AF_INET, SOCK_DGRAM, 0);
|
int s = socket(AF_INET, SOCK_DGRAM, 0);
|
||||||
bsppp_status_t ppp_status;
|
bsppp_status_t ppp_status;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user