summaryrefslogtreecommitdiff
path: root/ext/odbc/velocis.c
diff options
context:
space:
mode:
authorAndreas Karajannis <kara@php.net>1999-09-05 13:01:42 +0000
committerAndreas Karajannis <kara@php.net>1999-09-05 13:01:42 +0000
commit8a7d806054926a2a8cfeabe6441258265e917dbc (patch)
treee17193ca3cd97d4959b8e710dc5bd303b724af73 /ext/odbc/velocis.c
parent5a2189f3d3f63ad63c529c51eeeab2be3d87754f (diff)
downloadphp-git-8a7d806054926a2a8cfeabe6441258265e917dbc.tar.gz
New resource handling for odbc module
Diffstat (limited to 'ext/odbc/velocis.c')
-rw-r--r--ext/odbc/velocis.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/ext/odbc/velocis.c b/ext/odbc/velocis.c
index 51fca53980..0bd999ab31 100644
--- a/ext/odbc/velocis.c
+++ b/ext/odbc/velocis.c
@@ -25,9 +25,23 @@
*/
#include "php.h"
-#include "php3_velocis.h"
-#if HAVE_VELOCIS && !HAVE_UODBC
+#if WIN32
+# include "config.w32.h"
+# include "win95nt.h"
+# ifdef PHP_EXPORTS
+# define PHPAPI __declspec(dllexport)
+# else
+# define PHPAPI __declspec(dllimport)
+# endif
+#else
+# include "php_config.h"
+# define PHPAPI
+# define THREAD_LS
+#endif
+
+#if HAVE_VELOCIS
+#include "php3_velocis.h"
function_entry velocis_functions[] = {
PHP_FE(velocis_connect, NULL)