walling off more MOZILLA_CLIENT junk so plain standard ZLIB works in the native install wizards

This commit is contained in:
dveditz%netscape.com 1999-09-07 21:23:17 +00:00
Родитель 9d9379aeaf
Коммит 5d803bf4a6
2 изменённых файлов: 13 добавлений и 7 удалений

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

@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* This file was modified since it was taken from the zlib distribution */
/* $Id: zconf.h,v 3.2 1999/08/26 00:10:18 briano%netscape.com Exp $ */
/* $Id: zconf.h,v 3.3 1999/09/07 21:23:09 dveditz%netscape.com Exp $ */
#ifndef _ZCONF_H
#define _ZCONF_H
@ -172,7 +172,9 @@ typedef uLong FAR uLongf;
typedef Byte *voidp;
#endif
#ifndef MOZILLA_CLIENT
#ifdef MOZILLA_CLIENT
#include "prtypes.h"
#else
/* Compile with -DZLIB_DLL for Windows DLL support */
#if (defined(_WINDOWS) || defined(WINDOWS)) && defined(ZLIB_DLL)
# include <windows.h>
@ -180,8 +182,9 @@ typedef uLong FAR uLongf;
#else
# define EXPORT
#endif
#else
#include "prtypes.h"
#endif
#define PR_PUBLIC_API(type) type
#endif /* MOZILLA_CLIENT */
#endif /* _ZCONF_H */

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

@ -3,13 +3,16 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* This file was modified since it was taken from the zlib distribution */
/* $Id: zutil.c,v 3.1 1998/03/28 03:36:17 ltabb Exp $ */
/* $Id: zutil.c,v 3.2 1999/09/07 21:23:17 dveditz%netscape.com Exp $ */
#include <stdio.h>
#include "zutil.h"
#ifdef MOZILLA_CLIENT
#include "prtypes.h"
#include "prlog.h"
#endif
struct internal_state {int dummy;}; /* for buggy compilers */
@ -35,7 +38,7 @@ PR_PUBLIC_API(const char *) zlibVersion()
return ZLIB_VERSION;
}
#ifdef DEBUG
#if defined(DEBUG) && defined(MOZILLA_CLIENT)
void z_error (m)
char *m;
{