- Timestamp:
- 06/02/12 15:39:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/drivectrl.cc
r14018 r14039 5 5 #include <libnova/solar.h> 6 6 #include <libnova/rise_set.h> 7 #endif 8 9 #ifdef HAVE_SQL 10 #include <mysql++/mysql++.h> 7 11 #endif 8 12 … … 20 24 21 25 #include "tools.h" 22 23 #define HAS_SQL24 25 #ifdef HAS_SQL26 #include <mysql++/mysql++.h>27 #endif28 26 29 27 #include "HeadersDrive.h" … … 1227 1225 void ReadDatabase(bool print=true) 1228 1226 { 1227 #ifdef HAVE_SQL 1229 1228 //static const boost::regex expr("(([[:word:].-]+)(:(.+))?@)?([[:word:].-]+)(:([[:digit:]]+))?(/([[:word:].-]+))?"); 1230 1229 static const boost::regex expr("(([[:word:].-]+)(:(.+))?@)?([[:word:].-]+)(:([[:digit:]]+))?(/([[:word:].-]+))"); … … 1295 1294 } 1296 1295 } 1296 #else 1297 T::Warn("MySQL support not compiled into the program."); 1298 #endif 1297 1299 } 1298 1300
Note:
See TracChangeset
for help on using the changeset viewer.