Skip to content

Commit

Permalink
Fix bug #50140: With default compilation option, php symbols are unre…
Browse files Browse the repository at this point in the history
…solved for nsapi
  • Loading branch information
uschindler committed Nov 17, 2009
1 parent 0ab6819 commit bdef3ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -21,6 +21,8 @@ PHP NEWS
- Fixed memory leak in extension loading when an error occurs on Windows.
(Pierre)

- Fixed bug #50140 (With default compilation option, php symbols are
unresolved for nsapi). (Uwe Schindler)
- Fixed bug #50174 (Incorrectly matched docComment). (Felipe)
- Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses
containing = or ?). (Pierrick)
Expand Down
6 changes: 6 additions & 0 deletions sapi/nsapi/nsapi.c
Expand Up @@ -68,6 +68,12 @@
*/
#include "nsapi.h"

/* fix for gcc4 visibility issue */
#ifndef PHP_WIN32
# undef NSAPI_PUBLIC
# define NSAPI_PUBLIC PHPAPI
#endif

#define NSLS_D struct nsapi_request_context *request_context
#define NSLS_DC , NSLS_D
#define NSLS_C request_context
Expand Down

0 comments on commit bdef3ee

Please sign in to comment.