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:
wchang0222%aol.com 2004-11-04 06:14:23 +00:00
Родитель f4dfeee106
Коммит 37654a1a9c
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

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