mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Export spprintf() so that extension can link properly on win32.
This commit is contained in:
@@ -633,7 +633,7 @@ PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap
|
||||
}
|
||||
|
||||
|
||||
int spprintf(char **pbuf, size_t max_len, const char *format, ...)
|
||||
PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...)
|
||||
{
|
||||
int cc;
|
||||
va_list ap;
|
||||
|
||||
@@ -35,7 +35,7 @@ There is also snprintf: See difference explained in snprintf.h
|
||||
#include "snprintf.h"
|
||||
|
||||
BEGIN_EXTERN_C()
|
||||
extern int spprintf( char **pbuf, size_t max_len, const char *format, ...);
|
||||
PHPAPI extern int spprintf( char **pbuf, size_t max_len, const char *format, ...);
|
||||
|
||||
PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
|
||||
END_EXTERN_C()
|
||||
|
||||
Reference in New Issue
Block a user