Skip to content

Commit 30b631d

Browse files
committed
Export this so that shared session modules can use it under win32.
1 parent 5e4eac5 commit 30b631d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/session/php_session.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#define PS_CREATE_SID_ARGS void **mod_data, int *newlen TSRMLS_DC
3333

3434
/* default create id function */
35-
char *php_session_create_id(PS_CREATE_SID_ARGS);
35+
PHPAPI char *php_session_create_id(PS_CREATE_SID_ARGS);
3636

3737
typedef struct ps_module_struct {
3838
const char *s_name;

ext/session/session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ static char *bin_to_readable(char *in, size_t inlen, char *out, char nbits)
589589
return out;
590590
}
591591

592-
char *php_session_create_id(PS_CREATE_SID_ARGS)
592+
PHPAPI char *php_session_create_id(PS_CREATE_SID_ARGS)
593593
{
594594
PHP_MD5_CTX md5_context;
595595
PHP_SHA1_CTX sha1_context;

0 commit comments

Comments
 (0)