mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +02:00
use *_EXTERN_C() and PHP_WIN32
This commit is contained in:
parent
7478783b20
commit
dee2fd1ec4
14 changed files with 150 additions and 142 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue