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

This commit is contained in:
Uwe Schindler committed 2009-11-17 21:17:49 +00:00
1 parent 0ab68199d4
commit bdef3ee350
2 files changed
+8

No files matched your search

+6
View File
@@ -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