diff options
author | Harald Radi <phanto@php.net> | 2001-01-29 21:54:46 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2001-01-29 21:54:46 +0000 |
commit | dee2fd1ec42046c27bb07481f30d60bca6e3b889 (patch) | |
tree | 3b787d73f590cb612a347b25f391896cc1263132 /ext/rpc/com/php_variant.h | |
parent | 7478783b208a72843d747549422e8544f2f1175a (diff) | |
download | php-git-dee2fd1ec42046c27bb07481f30d60bca6e3b889.tar.gz |
use *_EXTERN_C() and PHP_WIN32
Diffstat (limited to 'ext/rpc/com/php_variant.h')
-rw-r--r-- | ext/rpc/com/php_variant.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/rpc/com/php_variant.h b/ext/rpc/com/php_variant.h index 2bb5fc1d62..0382b88a64 100644 --- a/ext/rpc/com/php_variant.h +++ b/ext/rpc/com/php_variant.h @@ -1,19 +1,20 @@ #ifndef PHP_TYPEDEF_VARIANT_H #define PHP_TYPEDEF_VARIANT_H -#if WIN32|WINNT +#if PHP_WIN32 extern PHP_MINIT_FUNCTION(VARIANT); extern PHP_MSHUTDOWN_FUNCTION(VARIANT); extern zend_module_entry VARIANT_module_entry; + #define VARIANT_module_ptr &VARIANT_module_entry #else #define VARIANT_module_ptr NULL -#endif /* Win32|WINNT */ +#endif /* PHP_WIN32 */ #define phpext_VARIANT_ptr VARIANT_module_ptr |