cvs: php4 /ext/pgsql php_pgsql.h
| From: | Edin Kadribasic | Date: | Fri, 10 May 2002 02:39:37 +0000 |
| Subject: | cvs: php4 /ext/pgsql php_pgsql.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11802@lists.php.net to get a copy of this message | ||
edink Thu May 9 22:39:37 2002 EDT
Modified files:
/php4/ext/pgsql php_pgsql.h
Log:
Fix win32 build.
Index: php4/ext/pgsql/php_pgsql.h
diff -u php4/ext/pgsql/php_pgsql.h:1.45 php4/ext/pgsql/php_pgsql.h:1.46
--- php4/ext/pgsql/php_pgsql.h:1.45 Wed Apr 24 21:42:23 2002
+++ php4/ext/pgsql/php_pgsql.h Thu May 9 22:39:37 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_pgsql.h,v 1.45 2002/04/25 01:42:23 yohgaki Exp $ */
+/* $Id: php_pgsql.h,v 1.46 2002/05/10 02:39:37 edink Exp $ */
#ifndef PHP_PGSQL_H
#define PHP_PGSQL_H
@@ -36,6 +36,12 @@
#ifdef PHP_WIN32
#define INV_WRITE 0x00020000
#define INV_READ 0x00040000
+#undef PHPAPI
+#ifdef PGSQL_EXPORTS
+#define PHPAPI __declspec(dllexport)
+#else
+#define PHPAPI __declspec(dllimport)
+#endif
#else
#include <libpq/libpq-fs.h>
#endif