silence compiler warnings
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "lmppython.h"
|
||||
#if LMP_PYTHON
|
||||
#if defined(LMP_PYTHON)
|
||||
#include "python_impl.h"
|
||||
#else
|
||||
#include "error.h"
|
||||
@ -46,7 +46,7 @@ PythonInterface::~PythonInterface()
|
||||
|
||||
void Python::init()
|
||||
{
|
||||
#if LMP_PYTHON
|
||||
#if defined(LMP_PYTHON)
|
||||
if (!impl) impl = new PythonImpl(lmp);
|
||||
#else
|
||||
error->all(FLERR,"Python support missing! Compile with PYTHON package installed!");
|
||||
@ -55,7 +55,7 @@ void Python::init()
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
bool Python::is_enabled() const {
|
||||
#if LMP_PYTHON
|
||||
#if defined(LMP_PYTHON)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user