Allow php_win_err() to be called from extenstions

This commit is contained in:
Frank M. Kromann 2001-11-21 22:47:54 +00:00
parent 2ea46ef6cc
commit e184ed1ed3
2 changed files with 3 additions and 5 deletions

View File

@ -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,

View File

@ -1 +1 @@
extern char *php_win_err(void);
PHPAPI extern char *php_win_err(void);