mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-16 06:50:32 +03:00
Trying to get things to compile with newer versions of boost.
This commit is contained in:
parent
1dcd077806
commit
64af8123c1
@ -1,7 +1,7 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: -*-
|
||||
#include "CloseSession.h"
|
||||
#include "TranslationRequest.h"
|
||||
#include "Server.h"
|
||||
#include "moses/StaticData.h"
|
||||
|
||||
namespace MosesServer
|
||||
{
|
||||
|
@ -1,10 +1,14 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: -*-
|
||||
#pragma once
|
||||
#include "moses/parameters/ServerOptions.h"
|
||||
#include "Session.h"
|
||||
#include <xmlrpc-c/base.hpp>
|
||||
#include <xmlrpc-c/registry.hpp>
|
||||
#include <xmlrpc-c/server_abyss.hpp>
|
||||
#ifndef WITH_THREADS
|
||||
#pragma message("COMPILING WITHOUT THREADS!")
|
||||
#else
|
||||
#include "moses/ThreadPool.h"
|
||||
#endif
|
||||
namespace MosesServer
|
||||
{
|
||||
|
@ -1,6 +1,11 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
||||
#pragma once
|
||||
#ifdef HAVE_XMLRPC_C
|
||||
#include "moses/TypeDef.h"
|
||||
#ifdef WITH_THREADS
|
||||
#include <boost/thread.hpp>
|
||||
#include "moses/ThreadPool.h"
|
||||
#endif
|
||||
#include <xmlrpc-c/base.hpp>
|
||||
#include <xmlrpc-c/registry.hpp>
|
||||
#include <xmlrpc-c/server_abyss.hpp>
|
||||
|
@ -1,7 +1,6 @@
|
||||
// -*- c++ -*-
|
||||
#pragma once
|
||||
|
||||
#include "moses/ThreadPool.h"
|
||||
#include "moses/parameters/ServerOptions.h"
|
||||
#include "Session.h"
|
||||
#include <xmlrpc-c/base.hpp>
|
||||
@ -9,6 +8,8 @@
|
||||
#include <xmlrpc-c/server_abyss.hpp>
|
||||
#ifndef WITH_THREADS
|
||||
#pragma message("COMPILING WITHOUT THREADS!")
|
||||
#else
|
||||
#include "moses/ThreadPool.h"
|
||||
#endif
|
||||
namespace MosesServer
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user