[wpdev-commits] wolfpack/win console_win.cpp,1.23,1.24
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-07-20 12:03:51
|
Update of /cvsroot/wpdev/wolfpack/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18652/win Modified Files: console_win.cpp Log Message: Improved display of mysql+sqlite version. Index: console_win.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/win/console_win.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** console_win.cpp 20 Jul 2004 04:40:52 -0000 1.23 --- console_win.cpp 20 Jul 2004 12:03:38 -0000 1.24 *************** *** 50,53 **** --- 50,61 ---- #include "../verinfo.h" + #include "../sqlite/sqlite.h" + #if defined(MYSQL_DRIVER) + #if defined(Q_OS_WIN32) + #include <winsock.h> + #endif + #include <mysql.h> + #endif + #if !defined(CFM_WEIGHT) # define CFM_WEIGHT 0x00400000 *************** *** 223,231 **** credits += QString( "Python: %1 Static (Compiled: %2)\n" ).arg( pythonBuild ).arg( PY_VERSION ); #endif ! credits += "SQLite Support: enabled\n"; #if defined (MYSQL_DRIVER) ! credits += "MySQL Support.: enabled\n"; #else ! credits += "MySQL Support.: disabled\n"; #endif --- 231,239 ---- credits += QString( "Python: %1 Static (Compiled: %2)\n" ).arg( pythonBuild ).arg( PY_VERSION ); #endif ! credits += "Compiled with SQLite " SQLITE_VERSION "\n"; #if defined (MYSQL_DRIVER) ! credits += QString("Compiled for MySQL " MYSQL_SERVER_VERSION " (Using: %1)\n").arg(mysql_get_client_info()); #else ! credits += "MySQL Support: disabled\n"; #endif |