]> granicus.if.org Git - php/commitdiff
proper dllexport
authorAnatol Belski <ab@php.net>
Tue, 18 Nov 2014 14:38:35 +0000 (15:38 +0100)
committerAnatol Belski <ab@php.net>
Tue, 18 Nov 2014 14:38:35 +0000 (15:38 +0100)
ext/standard/php_fopen_wrapper.c
ext/standard/php_fopen_wrappers.h
main/streams/plain_wrapper.c

index 1989a2eabc8cbe86089ba72a88a34571570c6a89..8026b08d45135b0e570712363f5a4808c3f63870 100644 (file)
@@ -418,7 +418,7 @@ static php_stream_wrapper_ops php_stdio_wops = {
        NULL  /* rmdir */
 };
 
-php_stream_wrapper php_stream_php_wrapper =    {
+PHPAPI php_stream_wrapper php_stream_php_wrapper =     {
        &php_stdio_wops,
        NULL,
        0, /* is_url */
index 084efc291c868444d83fdbee254e2c08a7f5e491..6d6a5bde27d77820589544405fb23a35302ccc3a 100644 (file)
@@ -27,7 +27,7 @@ php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *pa
 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
 extern PHPAPI php_stream_wrapper php_stream_http_wrapper;
 extern PHPAPI php_stream_wrapper php_stream_ftp_wrapper;
-extern php_stream_wrapper php_stream_php_wrapper;
-extern php_stream_wrapper php_plain_files_wrapper;
+extern PHPAPI php_stream_wrapper php_stream_php_wrapper;
+extern PHPAPI php_stream_wrapper php_plain_files_wrapper;
 
 #endif
index 1aa01f270d56d156a51eb18372bcd7726919f0ee..8590647818fe9e14890dca5352199a9e5fd1fd69 100644 (file)
@@ -1399,7 +1399,7 @@ static php_stream_wrapper_ops php_plain_files_wrapper_ops = {
        php_plain_files_metadata
 };
 
-php_stream_wrapper php_plain_files_wrapper = {
+PHPAPI php_stream_wrapper php_plain_files_wrapper = {
        &php_plain_files_wrapper_ops,
        NULL,
        0