eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] eliot/game settings.cpp


From: Olivier Teulière
Subject: [Eliot-dev] eliot/game settings.cpp
Date: Thu, 28 Jan 2010 22:23:47 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Changes by:     Olivier Teulière <ipkiss>       10/01/28 22:23:47

Modified files:
        game           : settings.cpp 

Log message:
        Compilation fix, when libconfig++ is missing

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/game/settings.cpp?cvsroot=eliot&r1=1.7&r2=1.8

Patches:
Index: settings.cpp
===================================================================
RCS file: /cvsroot/eliot/eliot/game/settings.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- settings.cpp        22 Jan 2009 18:30:31 -0000      1.7
+++ settings.cpp        28 Jan 2010 22:23:47 -0000      1.8
@@ -121,6 +121,7 @@
     }
 
 
+#ifdef HAVE_LIBCONFIG
     template<typename T>
     void copySetting(const Config &srcConf, Config &dstConf, const char *path)
     {
@@ -131,6 +132,7 @@
             dstConf.lookup(path) = t;
         }
     }
+#endif
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]