Damn, cvs.php.net is down so I can't commit changes.
Best to change the #if WIN32|WINNT to #ifdef PHP_WIN32
Also you should use BEGIN_EXTERN_C() and END_EXTERN_C()
I know it's picky, but it's good for consistency.
Andi

At 03:41 AM 1/28/2001 +0000, Harald Radi wrote:
>phanto          Sat Jan 27 19:41:43 2001 EDT
>
>   Removed files:
>     /php4/ext/com       COM.c
>
>   Modified files:
>     /php4/ext/com       php_COM.h
>   Log:
>   fixed unicodeconversion and parameter passing bugs in com and dotnet 
> modules
>
>Index: php4/ext/com/php_COM.h
>diff -u php4/ext/com/php_COM.h:1.2 php4/ext/com/php_COM.h:1.3
>--- php4/ext/com/php_COM.h:1.2  Sun Jul  2 16:46:38 2000
>+++ php4/ext/com/php_COM.h      Sat Jan 27 19:41:43 2001
>@@ -3,6 +3,10 @@
>
>  #if WIN32|WINNT
>
>+#ifdef __cplusplus
>+extern "C" {
>+#endif
>+
>  extern PHP_MINIT_FUNCTION(COM);
>  extern PHP_MSHUTDOWN_FUNCTION(COM);
>  PHP_FUNCTION(COM_load);
>@@ -11,6 +15,11 @@
>  PHP_FUNCTION(com_propget);
>  PHP_FUNCTION(com_propput);
>  extern zend_module_entry COM_module_entry;
>+
>+#ifdef __cplusplus
>+}
>+#endif
>+
>  #define COM_module_ptr &COM_module_entry
>
>  #else
>
>
>
>--
>PHP CVS Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to