From 2afbbd2e4ff3c359a1088d0f7c207b5e89f7e274 Mon Sep 17 00:00:00 2001 From: Harald Radi Date: Mon, 22 Apr 2002 09:33:25 +0000 Subject: [PATCH] fixed linkage warning under win32 --- Zend/acconfig.h | 1 + Zend/flex.skl | 2 +- Zend/zend_config.w32.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Zend/acconfig.h b/Zend/acconfig.h index d5cfefee44..ea2604997e 100644 --- a/Zend/acconfig.h +++ b/Zend/acconfig.h @@ -1,5 +1,6 @@ #define ZEND_API #define ZEND_DLEXPORT +#define ZEND_DLIMPORT @TOP@ diff --git a/Zend/flex.skl b/Zend/flex.skl index 30b944e23a..20ccb2113c 100644 --- a/Zend/flex.skl +++ b/Zend/flex.skl @@ -1248,7 +1248,7 @@ void yyFlexLexer::yy_delete_buffer( YY_BUFFER_STATE b TSRMLS_DC ) %- #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); +ZEND_DLIMPORT int isatty YY_PROTO(( int )); #endif #endif diff --git a/Zend/zend_config.w32.h b/Zend/zend_config.w32.h index e9ad6475e4..bf7bffa03c 100644 --- a/Zend/zend_config.w32.h +++ b/Zend/zend_config.w32.h @@ -73,6 +73,7 @@ typedef unsigned int uint; #endif #define ZEND_DLEXPORT __declspec(dllexport) +#define ZEND_DLIMPORT __declspec(dllimport) /* 0x00200000L is MB_SERVICE_NOTIFICATION, which is only supported under Windows NT * (and requires _WIN32_WINNT to be defined, which prevents the resulting executable -- 2.50.1