X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/src/zlib/zconf.h diff --git a/src/zlib/zconf.h b/src/zlib/zconf.h index 89e1a16c0d..8739a450de 100644 --- a/src/zlib/zconf.h +++ b/src/zlib/zconf.h @@ -1,6 +1,6 @@ /* zconf.h -- configuration of the zlib compression library * Copyright (C) 1995-1998 Jean-loup Gailly. - * For conditions of distribution and use, see copyright notice in zlib.h + * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ @@ -51,7 +51,7 @@ #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) # define WIN32 #endif -#if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386) +#if defined(__GNUC__) || defined(WIN32) || defined(OS232) || defined(__386__) || defined(i386) # ifndef __32BIT__ # define __32BIT__ # endif @@ -71,7 +71,7 @@ # define UNALIGNED_OK #endif -#if (defined(MSDOS) || defined(_WINDOWS) || defined(WIN32)) && !defined(STDC) +#if (defined(MSDOS) || defined(_WINDOWS) || defined(WIN32) || defined(OS232)) && !defined(STDC) # define STDC #endif #if defined(__STDC__) || defined(__cplusplus) || defined(__OS2__) @@ -196,6 +196,9 @@ typedef unsigned long uLong; /* 32 bits or more */ #else typedef Byte FAR Bytef; #endif +#if defined(__VISAGECPP__) +# define Bytef Byte FAR +#endif typedef char FAR charf; typedef int FAR intf; typedef uInt FAR uIntf;