1 /* 2 * vim: filetype=c:tabstop=2:softtabstop=2:shiftwidth=2:ai:expandtab 3 * SPDX-License-Identifier: MIT 4 * scspell-id: cfb1cafa-7ef7-11f0-b141-80ee73e9b8e7 5 * 6 * ------------------------------------------------------------------------- 7 * 8 * Copyright (c) 2025 The DPS8M Development Team 9 * 10 * Permission is hereby granted, free of charge, to any person obtaining 11 * a copy of this software and associated documentation files (the "Software"), 12 * to deal in the Software without restriction, including without limitation 13 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 * and/or sell copies of the Software, and to permit persons to whom the 15 * Software is furnished to do so, subject to the following conditions: 16 * 17 * * The above copyright notice and this permission notice shall be 18 * included in all copies or substantial portions of the Software. 19 * 20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 23 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 24 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 25 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 26 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 * 28 * ------------------------------------------------------------------------- 29 */ 30 31 #if !defined(_MINIZ_CONFIG_H) 32 # define _MINIZ_CONFIG_H 33 34 # if defined(__GLIBC__) 35 # if !defined(_LARGEFILE64_SOURCE) 36 # define _LARGEFILE64_SOURCE 1 37 # endif 38 # endif 39 40 # undef MINIZ_NO_STDIO 41 # define MINIZ_NO_STDIO 42 43 # undef MINIZ_NO_INFLATE_APIS 44 # define MINIZ_NO_INFLATE_APIS 45 46 # undef MINIZ_NO_ARCHIVE_APIS 47 # define MINIZ_NO_ARCHIVE_APIS 48 49 # undef MINIZ_NO_ARCHIVE_WRITING_APIS 50 # define MINIZ_NO_ARCHIVE_WRITING_APIS 51 52 # undef MINIZ_NO_ZLIB_APIS 53 # define MINIZ_NO_ZLIB_APIS 54 55 # undef MINIZ_NO_ZLIB_COMPATIBLE_NAMES 56 # define MINIZ_NO_ZLIB_COMPATIBLE_NAMES 57 58 #endif