From: ThorstenB Date: Sun, 12 Jun 2011 22:46:50 +0000 (+0200) Subject: Martin Spott: Fix special FDM define for CMake. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d7ec8f2388df1856f8a17dbeeacdf75ad21c3e8;p=flightgear.git Martin Spott: Fix special FDM define for CMake. --- diff --git a/src/FDM/fdm_shell.cxx b/src/FDM/fdm_shell.cxx index 8055bce5a..1aa19402d 100644 --- a/src/FDM/fdm_shell.cxx +++ b/src/FDM/fdm_shell.cxx @@ -35,7 +35,7 @@ #include // all the FDMs, since we are the factory method -#if ENABLE_SP_FDM +#ifdef ENABLE_SP_FDM #include #include #include @@ -175,7 +175,7 @@ void FDMShell::createImplementation() _impl = new FGLaRCsim( dt ); } else if ( model == "jsb" ) { _impl = new FGJSBsim( dt ); -#if ENABLE_SP_FDM +#ifdef ENABLE_SP_FDM } else if ( model == "ada" ) { _impl = new FGADA( dt ); } else if ( model == "acms" ) {