/* htsfeatures.h.  Generated from htsfeatures.h.in by configure.  */
/* ------------------------------------------------------------ */
/*
HTTrack Website Copier, Offline Browser for Windows and Unix
Copyright (C) 1998 Xavier Roche and other contributors

SPDX-License-Identifier: GPL-3.0-or-later

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Ethical use: we kindly ask that you NOT use this software to harvest email
addresses or to collect any other private information about people. Doing so
would dishonor our work and waste the many hours we have spent on it.

Please visit our Website: http://www.httrack.com
*/

/* ------------------------------------------------------------ */
/* File: Public build-switch header (generated by configure)     */
/* ------------------------------------------------------------ */

/** @file htsfeatures.h
 *  The subset of config.h the installed headers need. HTS_INET6 and
 *  HTS_USEOPENSSL fix SOCaddr/htsblk layout: a consumer that guesses them wrong
 *  desyncs from the library it links against. */

#ifndef HTTRACK_FEATURES_DEFH
#define HTTRACK_FEATURES_DEFH

/* Picks the in6_addr/sockaddr_in6 arm of SOCaddr (htsnet.h). */
#define HTS_INET6 1

/* Adds the ssl fields to htsblk, past its embedded SOCaddr (htsopt.h). */
#define HTS_USEOPENSSL 1

/* Content codings the build can decode (htsglobal.h). */
#define HTS_USEBROTLI 1
#define HTS_USEZSTD 1

/* Large-file support: widens INTsys to 64 bits (htsglobal.h). */
#define HTS_LFS 1

/* Set when the platform declares in_addr_t, which htsnet.h then leaves alone. */
#define HTS_DO_NOT_REDEFINE_in_addr_t /**/

/* Replacements for the socket types a platform may not declare; htsnet.h uses
   in_port_t in the SOCaddr accessors. */
/* #undef in_port_t */
/* #undef sa_family_t */

/* setuid() available; its absence defines HTS_DO_NOT_USE_UID (htsglobal.h). */
#define SETUID 1

/* dlopen() available; drives HTS_DLOPEN (htsglobal.h). */
#define DLLIB 1

/* strnlen() available; picks htssafe.h's own implementation when absent. */
#define HAVE_STRNLEN 1

/* Compiler honours visibility attributes; marks HTSEXT_API and
   EXTERNAL_FUNCTION default-visible on a non-GNU compiler. */
#define HAVE_VISIBILITY 1

#endif
