Skip to content

Commit

Permalink
MFH
Browse files Browse the repository at this point in the history
  • Loading branch information
edinkad committed Nov 23, 2004
1 parent 68aff65 commit 74d23c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/iconv/config.w32
Expand Up @@ -12,8 +12,10 @@ if (PHP_ICONV != "no") {
AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
ADD_FLAG("CFLAGS_ICONV", "/D PHP_ICONV_EXPORTS ");
if (!PHP_ICONV_SHARED) {
ADD_DEF_FILE("ext\\iconv\\php_iconv.def");
}
}
}

4 changes: 4 additions & 0 deletions ext/iconv/php_iconv.h
Expand Up @@ -23,8 +23,12 @@
#define PHP_ICONV_H

#ifdef PHP_WIN32
#ifdef PHP_ICONV_EXPORTS
#define PHP_ICONV_API __declspec(dllexport)
#else
#define PHP_ICONV_API __declspec(dllimport)
#endif
#else
#define PHP_ICONV_API
#endif

Expand Down

0 comments on commit 74d23c2

Please sign in to comment.