diff options
| author | Andi Gutmans <andi@php.net> | 1999-04-07 18:10:10 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 1999-04-07 18:10:10 +0000 |
| commit | 573b46022c46ab41a879c23f4ea432dd4d0c102e (patch) | |
| tree | 12cabc0497f414c8c7678e18f2a034eefb1604a9 /Zend/config.w32.h | |
| parent | f70a4db647886f65a3e24249351d2c8abc0cdfb3 (diff) | |
| download | php-git-573b46022c46ab41a879c23f4ea432dd4d0c102e.tar.gz | |
Zend Library
Diffstat (limited to 'Zend/config.w32.h')
| -rw-r--r-- | Zend/config.w32.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Zend/config.w32.h b/Zend/config.w32.h new file mode 100644 index 0000000000..dac03e3b46 --- /dev/null +++ b/Zend/config.w32.h @@ -0,0 +1,41 @@ +#ifndef _ZEND_CONFIG_W32_H +#define _ZEND_CONFIG_W32_H + + +#include <string.h> +#include <windows.h> + +typedef unsigned long ulong; +typedef unsigned int uint; + +#define HAVE_ALLOCA 1 +#include <malloc.h> + +#define HAVE_DIRENT_H 0 + +#ifdef inline +#undef inline +#endif + +#define ZEND_DEBUG 1 + +#define zend_sprintf sprintf + +/* Visual C++ doesn't really work with inline for C */ +#define inline + + +#define DL_LOAD(libname) LoadLibrary(libname) +#define DL_FETCH_SYMBOL GetProcAddress +#define DL_UNLOAD FreeLibrary +#define DL_HANDLE HMODULE +#define ZEND_EXTENSIONS_SUPPORT 1 + +#ifdef COMPILE_LIBZEND +# define ZEND_API __declspec(dllexport) +#else +# define ZEND_API __declspec(dllimport) +#endif + + +#endif /* _ZEND_CONFIG_W32_H */
\ No newline at end of file |
