mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +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: -*-
|
// -*- mode: c++; indent-tabs-mode: nil; tab-width: -*-
|
||||||
#include "CloseSession.h"
|
#include "CloseSession.h"
|
||||||
|
#include "TranslationRequest.h"
|
||||||
#include "Server.h"
|
#include "Server.h"
|
||||||
#include "moses/StaticData.h"
|
|
||||||
|
|
||||||
namespace MosesServer
|
namespace MosesServer
|
||||||
{
|
{
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: -*-
|
// -*- mode: c++; indent-tabs-mode: nil; tab-width: -*-
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "moses/parameters/ServerOptions.h"
|
||||||
|
#include "Session.h"
|
||||||
#include <xmlrpc-c/base.hpp>
|
#include <xmlrpc-c/base.hpp>
|
||||||
#include <xmlrpc-c/registry.hpp>
|
#include <xmlrpc-c/registry.hpp>
|
||||||
#include <xmlrpc-c/server_abyss.hpp>
|
#include <xmlrpc-c/server_abyss.hpp>
|
||||||
#ifndef WITH_THREADS
|
#ifndef WITH_THREADS
|
||||||
#pragma message("COMPILING WITHOUT THREADS!")
|
#pragma message("COMPILING WITHOUT THREADS!")
|
||||||
|
#else
|
||||||
|
#include "moses/ThreadPool.h"
|
||||||
#endif
|
#endif
|
||||||
namespace MosesServer
|
namespace MosesServer
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifdef HAVE_XMLRPC_C
|
#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/base.hpp>
|
||||||
#include <xmlrpc-c/registry.hpp>
|
#include <xmlrpc-c/registry.hpp>
|
||||||
#include <xmlrpc-c/server_abyss.hpp>
|
#include <xmlrpc-c/server_abyss.hpp>
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
// -*- c++ -*-
|
// -*- c++ -*-
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "moses/ThreadPool.h"
|
|
||||||
#include "moses/parameters/ServerOptions.h"
|
#include "moses/parameters/ServerOptions.h"
|
||||||
#include "Session.h"
|
#include "Session.h"
|
||||||
#include <xmlrpc-c/base.hpp>
|
#include <xmlrpc-c/base.hpp>
|
||||||
@ -9,6 +8,8 @@
|
|||||||
#include <xmlrpc-c/server_abyss.hpp>
|
#include <xmlrpc-c/server_abyss.hpp>
|
||||||
#ifndef WITH_THREADS
|
#ifndef WITH_THREADS
|
||||||
#pragma message("COMPILING WITHOUT THREADS!")
|
#pragma message("COMPILING WITHOUT THREADS!")
|
||||||
|
#else
|
||||||
|
#include "moses/ThreadPool.h"
|
||||||
#endif
|
#endif
|
||||||
namespace MosesServer
|
namespace MosesServer
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user