cvs: php4(PHP_4_3) /ext/mbstring mbstring.h
| From: | Edin Kadribasic | Date: | Thu, 14 Nov 2002 13:37:26 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/mbstring mbstring.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16132@lists.php.net to get a copy of this message | ||
edink Thu Nov 14 08:37:26 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/mbstring mbstring.h
Log:
MFH (fixes unix build of mbstring)
Index: php4/ext/mbstring/mbstring.h
diff -u php4/ext/mbstring/mbstring.h:1.40.2.1 php4/ext/mbstring/mbstring.h:1.40.2.2
--- php4/ext/mbstring/mbstring.h:1.40.2.1 Wed Nov 13 18:01:17 2002
+++ php4/ext/mbstring/mbstring.h Thu Nov 14 08:37:26 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.h,v 1.40.2.1 2002/11/13 23:01:17 edink Exp $ */
+/* $Id: mbstring.h,v 1.40.2.2 2002/11/14 13:37:26 edink Exp $ */
/*
* PHP4 Multibyte String module "mbstring" (currently only for Japanese)
@@ -49,18 +49,18 @@
#ifdef COMPILE_DL_MBSTRING
#undef HAVE_MBSTRING
#define HAVE_MBSTRING 1
-#undef MBSTRING_API
-#define MBSTRING_API
-
#endif
#ifdef PHP_WIN32
-#undef MBSTRING_API
-#ifdef MBSTRING_EXPORTS
-#define MBSTRING_API __declspec(dllexport)
+# undef MBSTRING_API
+# ifdef MBSTRING_EXPORTS
+# define MBSTRING_API __declspec(dllexport)
+# else
+# define MBSTRING_API __declspec(dllimport)
+# endif
#else
-#define MBSTRING_API __declspec(dllimport)
-#endif
+# undef MBSTRING_API
+# define MBSTRING_API /* nothing special */
#endif