Browse Source

Fix bug #50140: With default compilation option, php symbols are unresolved for nsapi

experimental/5.3-FPM
Uwe Schindler 17 years ago
parent
commit
bdef3ee350
  1. 2
      NEWS
  2. 6
      sapi/nsapi/nsapi.c

2
NEWS

@ -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)

6
sapi/nsapi/nsapi.c

@ -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

Loading…
Cancel
Save