mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Allow php_win_err() to be called from extenstions
This commit is contained in:
parent
2ea46ef6cc
commit
e184ed1ed3
@ -1,12 +1,10 @@
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "winutil.h"
|
||||
#include <php.h>
|
||||
|
||||
#ifndef THREAD_SAFE
|
||||
static char Win_Error_msg[256];
|
||||
#endif
|
||||
|
||||
char *php_win_err(void)
|
||||
PHPAPI char *php_win_err(void)
|
||||
{
|
||||
FormatMessage(
|
||||
FORMAT_MESSAGE_FROM_SYSTEM,
|
||||
|
@ -1 +1 @@
|
||||
extern char *php_win_err(void);
|
||||
PHPAPI extern char *php_win_err(void);
|
||||
|
Loading…
Reference in New Issue
Block a user