centralize #include "build-defs.h" and drop (sometimes inconsistent) other

instances
This commit is contained in:
Sascha Schumann 2002-10-24 13:15:49 +00:00
parent 26617f8b5f
commit 2909e5c9c9
31 changed files with 36 additions and 71 deletions

View file

@ -1,7 +1,7 @@
#ifndef PHP_DOTNET_H
#define PHP_DOTNET_H
#if WIN32|WINNT
#ifdef PHP_WIN32
PHP_MINIT_FUNCTION(DOTNET);
PHP_MSHUTDOWN_FUNCTION(DOTNET);
@ -14,7 +14,7 @@ extern zend_module_entry DOTNET_module_entry;
#define DOTNET_module_ptr NULL
#endif /* Win32|WINNT */
#endif /* PHP_WIN32 */
#define phpext_DOTNET_ptr DOTNET_module_ptr