--- a/examples/examples.h 2012-08-16 12:15:30.000000000 -0700
+++ b/examples/examples.h 2012-08-23 10:05:54.000000000 -0700
+// Connection properties
+# define EXAMPLE_DB "test"
+# define EXAMPLE_HOST "tcp://127.0.0.1:3306"
+#endif /* EXAMPLE_HOST */
+# define EXAMPLE_USER "root"
+#endif /* EXAMPLE_USER */
+# define EXAMPLE_PASS "root"
+#endif /* EXAMPLE_PASS */
+#ifndef DYNLOAD_MYSQL_LIB
+#define DYNLOAD_MYSQL_LIB "/opt/local/lib/mysql55/mysql/libmysqlclient_r.dylib"
+#endif /* DYNLOAD_MYSQL_LIB */
__FUNCTION__/__func__ is not portable. We do not promise
that our example definition covers each and every compiler.
works for you or you have to find your own.
- #define __LINE__ "(line number n/a)"
+#define __LINE__ "(line number n/a)"
-// Connection properties
-#define EXAMPLE_DB "test"
-#define EXAMPLE_HOST "tcp://127.0.0.1:3306"
-#define EXAMPLE_USER "root"
-#define EXAMPLE_PASS "root"
#define EXAMPLE_NUM_TEST_ROWS 4