summaryrefslogtreecommitdiff
path: root/dbdimp.h
diff options
context:
space:
mode:
authorXavier <xavier@xnrr142.com>2012-07-03 06:10:06 +0200
committerXavier <xavier@xnrr142.com>2012-07-03 06:10:06 +0200
commitf82199bb5e7e524d8af46bfc206de300fe87c645 (patch)
tree75540c8adf4bcdc73704702eb3b2e7411352c372 /dbdimp.h
parenta1651c70e02f20b26f37d843b9388944b7ce0cf2 (diff)
Imported Upstream version 1.00
Diffstat (limited to 'dbdimp.h')
-rw-r--r--dbdimp.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/dbdimp.h b/dbdimp.h
index f10184c..620d98c 100644
--- a/dbdimp.h
+++ b/dbdimp.h
@@ -64,7 +64,15 @@ static const int DBI_SQL_BLOB = SQL_BLOB;
#undef SQL_BLOB
#undef SQL_BOOLEAN
-#include <ibase.h>
+#ifdef __CYGWIN__
+ #define _WIN32
+ #define __stdcall __attribute__((stdcall))
+ #define __cdecl __attribute__((cdecl))
+ #include <ibase.h>
+ #undef _WIN32
+#else
+ #include <ibase.h>
+#endif
#include <time.h>
/* defines */
@@ -265,6 +273,7 @@ struct imp_sth_st
char *timeformat;
imp_sth_t *prev_sth; /* pointer to prev statement */
imp_sth_t *next_sth; /* pointer to next statement */
+ HV *param_values; /* For storing the ParamValues attribute */
};