libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 610aa912afa78656e5d71a62f81e42170c7f5af2
parent 767fae27106543931366ec17035d2ea35d98e133
Author: Nils Durner <durner@gnunet.org>
Date:   Mon, 18 May 2009 18:47:45 +0000

sync

Diffstat:
Msrc/include/plibc.h | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/include/plibc.h b/src/include/plibc.h @@ -6,12 +6,12 @@ modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - + This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @@ -22,7 +22,7 @@ * @brief PlibC header * @attention This file is usually not installed under Unix, * so ship it with your application - * @version $Revision: 1.46 $ + * @version $Revision: 39 $ */ #ifndef _PLIBC_H_ @@ -359,6 +359,7 @@ extern "C" void SetErrnoFromWinsockError (long lWinError); void SetHErrnoFromWinError (long lWinError); void SetErrnoFromHRESULT (HRESULT hRes); + int GetErrnoFromWinsockError (long lWinError); FILE *_win_fopen (const char *filename, const char *mode); DIR *_win_opendir (const char *dirname); int _win_open (const char *filename, int oflag, ...); @@ -463,7 +464,7 @@ extern "C" #define BINDTEXTDOMAIN(d, n) bindtextdomain(d, n) #endif #define CREAT(p, m) creat(p, m) -#define CTIME(c) ctime(c) +#define PLIBC_CTIME(c) ctime(c) #define CTIME_R(c, b) ctime_r(c, b) #undef FOPEN #define FOPEN(f, m) fopen(f, m) @@ -555,7 +556,7 @@ extern "C" #define BINDTEXTDOMAIN(d, n) _win_bindtextdomain(d, n) #endif #define CREAT(p, m) _win_creat(p, m) -#define CTIME(c) _win_ctime(c) +#define PLIBC_CTIME(c) _win_ctime(c) #define CTIME_R(c, b) _win_ctime_r(c, b) #define FOPEN(f, m) _win_fopen(f, m) #define FTRUNCATE(f, l) _win_ftruncate(f, l)