cvs: php4 /win32 winutil.c winutil.h

From: Date: Wed, 21 Nov 2001 22:47:54 +0000
Subject: cvs: php4 /win32 winutil.c winutil.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8279@lists.php.net to get a copy of this message
fmk Wed Nov 21 17:47:54 2001 EDT Modified files: /php4/win32 winutil.h winutil.c Log: Allow php_win_err() to be called from extenstions Index: php4/win32/winutil.h diff -u php4/win32/winutil.h:1.2 php4/win32/winutil.h:1.3 --- php4/win32/winutil.h:1.2 Fri Dec 17 17:34:04 1999 +++ php4/win32/winutil.h Wed Nov 21 17:47:53 2001 @@ -1 +1 @@ -extern char *php_win_err(void); +PHPAPI extern char *php_win_err(void); Index: php4/win32/winutil.c diff -u php4/win32/winutil.c:1.4 php4/win32/winutil.c:1.5 --- php4/win32/winutil.c:1.4 Fri Jun 16 14:23:57 2000 +++ php4/win32/winutil.c Wed Nov 21 17:47:54 2001 @@ -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,

« previous php.cvs (#8279) next »