"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.17.5/lib/isc/include/isc/platform.h.in" (4 Sep 2020, 1179 Bytes) of package /linux/misc/dns/bind9/9.17.5/bind-9.17.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
    3  *
    4  * This Source Code Form is subject to the terms of the Mozilla Public
    5  * License, v. 2.0. If a copy of the MPL was not distributed with this
    6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    7  *
    8  * See the COPYRIGHT file distributed with this work for additional
    9  * information regarding copyright ownership.
   10  */
   11 
   12 #ifndef ISC_PLATFORM_H
   13 #define ISC_PLATFORM_H 1
   14 
   15 /*! \file */
   16 
   17 /*****
   18  ***** Platform-dependent defines.
   19  *****/
   20 
   21 /***
   22  *** Default strerror_r buffer size
   23  ***/
   24 
   25 #define ISC_STRERRORSIZE 128
   26 
   27 /***
   28  *** System limitations
   29  ***/
   30 
   31 #include <limits.h>
   32 
   33 #ifndef NAME_MAX
   34 #define NAME_MAX 256
   35 #endif
   36 
   37 #ifndef PATH_MAX
   38 #define PATH_MAX 1024
   39 #endif
   40 
   41 #ifndef IOV_MAX
   42 #define IOV_MAX 1024
   43 #endif
   44 
   45 /***
   46  *** Miscellaneous.
   47  ***/
   48 
   49 /***
   50  ***    Windows dll support.
   51  ***/
   52 
   53 #define LIBISC_EXTERNAL_DATA
   54 #define LIBDNS_EXTERNAL_DATA
   55 #define LIBISCCC_EXTERNAL_DATA
   56 #define LIBISCCFG_EXTERNAL_DATA
   57 #define LIBNS_EXTERNAL_DATA
   58 #define LIBBIND9_EXTERNAL_DATA
   59 #define LIBTESTS_EXTERNAL_DATA
   60 
   61 /*
   62  * Tell emacs to use C mode for this file.
   63  *
   64  * Local Variables:
   65  * mode: c
   66  * End:
   67  */
   68 
   69 #endif /* ISC_PLATFORM_H */