]> git.mxchange.org Git - flightgear.git/commitdiff
Martin Spott: Fix special FDM define for CMake.
authorThorstenB <brehmt@gmail.com>
Sun, 12 Jun 2011 22:46:50 +0000 (00:46 +0200)
committerThorstenB <brehmt@gmail.com>
Sun, 12 Jun 2011 22:46:50 +0000 (00:46 +0200)
src/FDM/fdm_shell.cxx

index 8055bce5a1624a9c524fd646fd2c275f91a2c052..1aa19402def56983da57ef771e1a70ff20dd5096 100644 (file)
@@ -35,7 +35,7 @@
 #include <Scenery/scenery.hxx>
 
 // all the FDMs, since we are the factory method
-#if ENABLE_SP_FDM
+#ifdef ENABLE_SP_FDM
 #include <FDM/SP/ADA.hxx>
 #include <FDM/SP/ACMS.hxx>
 #include <FDM/SP/MagicCarpet.hxx>
@@ -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" ) {