freebsd-ports/databases/mysql2odbc/files/patch-libfakesql.h
Max Khon d5cf0d45a2 New port: mysql2odbc 0.99.2
The MySQL-ODBC SDK enables you to make MySQL-specific applications
database-independent without wholesale re-writes of your application code.
Thus, applications that are written directly to the MySQL call level interface
now end up being database independent via iODBC (or unixODBC), and usable
against any ODBC accessible database (including MySQL).

WWW: http://www.iodbc.org/index.php?page=mysql2odbc/index
2005-08-31 18:43:34 +00:00

17 lines
386 B
C

--- libfakesql.h.orig Sat Aug 20 16:16:01 2005
+++ libfakesql.h Sat Aug 20 16:00:18 2005
@@ -47,6 +47,14 @@
///////////////////////////////////////////////////////////////////////////////
+#ifndef FALSE
+#define FALSE 0
+#endif
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+
#define NAME_LEN 64 /* Field/table name length */
#define HOSTNAME_LENGTH 60
#define USERNAME_LENGTH 16