From 01cca733be9781467ee064cb48ad065183da59f2 Mon Sep 17 00:00:00 2001 From: Nicolas Marsic <nicolas.marsic@gmail.com> Date: Mon, 15 Dec 2014 18:50:09 +0000 Subject: [PATCH] Fix missing #elif in ONELAB --- Common/GmshMessage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/GmshMessage.h b/Common/GmshMessage.h index 420cedcb11..38ebc84d90 100644 --- a/Common/GmshMessage.h +++ b/Common/GmshMessage.h @@ -107,9 +107,9 @@ class Msg { static std::string GetExecutableName() { return _execName; } static void LoadOnelabClient(const std::string &name, const std::string &sockName); static GmshClient *GetGmshClient(){ return _client; } -#ifdef HAVE_ONELAB2 +#if defined(HAVE_ONELAB2) static GmshNetworkClient *GetOnelabClient(){ return _onelabClient; } -#else +#elif defined(HAVE_ONELAB) static onelab::client *GetOnelabClient(){ return _onelabClient; } #endif static void FinalizeOnelab(); -- GitLab