php ZEND_API

//configure.in文件
AH_TOP([

if defined(GNUC) && GNUC >= 4

define ZEND_API attribute ((visibility(“default”)))

define ZEND_DLEXPORT attribute ((visibility(“default”)))

else

define ZEND_API

define ZEND_DLEXPORT

endif

define ZEND_DLIMPORT

undef uint

undef ulong

/ Define if you want to enable memory limit support /

define MEMORY_LIMIT 0

])
//Zend\zend_config.w32.h

ifdef LIBZEND_EXPORTS

define ZEND_API __declspec(dllexport)

else

define ZEND_API __declspec(dllimport)

endif

你可能感兴趣的:(php ZEND_API)