Author: wyoung
Date: Mon Mar 6 18:33:41 2006
New Revision: 1227
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1227&view=rev
Log:
The earlier MYSQLPP_SSQLS_NO_STATICS patch used a GNU cpp extension that
a) isn't portable to VC++ at least, and b) isn't supported in GCC 4.1
any more. Fixed it to use ISO C++ syntax.
Modified:
branches/v2.1-bakefile/lib/custom.pl
Modified: branches/v2.1-bakefile/lib/custom.pl
URL:
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/lib/custom.pl?rev=1227&r1=1226&r2=1227&view=diff
==============================================================================
--- branches/v2.1-bakefile/lib/custom.pl (original)
+++ branches/v2.1-bakefile/lib/custom.pl Mon Mar 6 18:33:41 2006
@@ -59,9 +59,9 @@
#include <string>
#ifdef MYSQLPP_SSQLS_NO_STATICS
-#define MYSQLPP_SSQLS_EXPAND(a...)
+#define MYSQLPP_SSQLS_EXPAND(...)
#else
-#define MYSQLPP_SSQLS_EXPAND(a...) a
+#define MYSQLPP_SSQLS_EXPAND(...) __VA_ARGS__
#endif
namespace mysqlpp {
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits