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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php