Adding PHPAPI needed for exif on Win32

This commit is contained in:
Frank M. Kromann 2002-04-15 22:22:53 +00:00
parent c000d491d7
commit 643fb6dcdf
4 changed files with 4 additions and 4 deletions

View File

@ -276,7 +276,7 @@ PHPAPI size_t _php_stream_passthru(php_stream * src STREAMS_DC TSRMLS_DC);
#define php_stream_error(stream) (0)
/* operations for a stdio FILE; use the php_stream_fopen_XXX funcs below */
extern php_stream_ops php_stream_stdio_ops;
PHPAPI extern php_stream_ops php_stream_stdio_ops;
/* like fopen, but returns a stream */
PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path STREAMS_DC TSRMLS_DC);
#define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened) STREAMS_CC TSRMLS_CC)

View File

@ -605,7 +605,7 @@ static int xbuf_format_converter(register xbuffy * xbuf, const char *fmt, va_lis
/*
* This is the general purpose conversion function.
*/
int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap)
PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap)
{
xbuffy xbuf;
int cc;

View File

@ -23,7 +23,7 @@
extern int spprintf( char **pbuf, size_t max_len, const char *format, ...);
extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
#endif /* SNPRINTF_H */

View File

@ -737,7 +737,7 @@ static int php_stdiop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC
return fstat(fd, &ssb->sb);
}
php_stream_ops php_stream_stdio_ops = {
PHPAPI php_stream_ops php_stream_stdio_ops = {
php_stdiop_write, php_stdiop_read,
php_stdiop_close, php_stdiop_flush,
"STDIO",