зеркало из https://github.com/mozilla/pjs.git
Removed the definition of 'errno' as a global variable for WinCE. Our
WinCE port implements 'errno' as thread local storage.
This commit is contained in:
Родитель
353fa248cc
Коммит
0183604b19
|
@ -3,7 +3,7 @@
|
|||
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||
*/
|
||||
|
||||
/* @(#) $Id: zutil.c,v 1.4 2004-11-02 23:40:10 wchang0222%aol.com Exp $ */
|
||||
/* @(#) $Id: zutil.c,v 1.5 2004-11-04 06:14:23 wchang0222%aol.com Exp $ */
|
||||
|
||||
#include "zutil.h"
|
||||
|
||||
|
@ -140,11 +140,6 @@ const char * ZEXPORT zError(err)
|
|||
return ERR_MSG(err);
|
||||
}
|
||||
|
||||
#if defined(_WIN32_WCE)
|
||||
/* does not exist on WCE */
|
||||
int errno = 0;
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_MEMCPY
|
||||
|
||||
void zmemcpy(dest, source, len)
|
||||
|
|
Загрузка…
Ссылка в новой задаче