3 * This is a static, stripped-down version of config.h.in for Windows
4 * platforms. It's hand-tweaked to define the right symbols so that
5 * remctl will build properly on Windows. (This may include lying about
6 * certain features that don't matter on a Windows build.)
8 * Written by Matthew Loar
9 * Copyright 2020 Russ Allbery <eagle@eyrie.org>
10 * Copyright 2008, 2011 Matthew Loar
11 * Copyright 2009 Jeffrey Altman
12 * Copyright 2008-2009, 2011
13 * The Board of Trustees of the Leland Stanford Junior University
15 * SPDX-License-Identifier: MIT
18 /* Define to 1 if you have the declaration of `inet_ntoa', and to 0 if you
20 #define HAVE_DECL_INET_NTOA 1
22 /* Define to 1 if you have the `getaddrinfo' function. */
23 /* Defined to empty in krb5 include files */
24 #undef HAVE_GETADDRINFO
25 #define HAVE_GETADDRINFO 1
27 /* Define to 1 if you have the `getnameinfo' function. */
28 /* Defined to empty in krb5 include files */
29 #undef HAVE_GETNAMEINFO
30 #define HAVE_GETNAMEINFO 1
32 /* Define if your system has a working inet_ntoa function. */
33 #define HAVE_INET_NTOA 1
35 /* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
36 #define HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS 1
38 /* Define to 1 if the system has the type `krb5_realm'. */
39 #define HAVE_KRB5_REALM
41 /* Define to 1 if the system has <gssapi/gssapi.h>. */
42 #define HAVE_GSSAPI_GSSAPI_H
44 /* Define to 1 if the system has <gssapi/gssapi_krb5.h>. */
45 #define HAVE_GSSAPI_GSSAPI_KRB5_H
47 /* Define to 1 if the system has the type `long long'. */
48 #define HAVE_LONG_LONG
50 /* Define to 1 if you have the `setenv' function. */
53 /* Define if your system has a working snprintf function. */
54 #define HAVE_SNPRINTF 1
56 /* Define to 1 if you have the <string.h> header file. */
57 /* Defined in krb5 include files */
59 # define HAVE_STRING_H 1
62 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
63 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
65 /* Define to 1 if you have the ANSI C header files. */
66 #define STDC_HEADERS 1
68 /* Define to 1 if the GSS-API library uses RFC-compliant OIDs. */
69 #define HAVE_GSS_RFC_OIDS 1
71 /* Define to 1 if you have the declaration of `gss_mech_krb5', and to 0 if you
73 #define HAVE_DECL_GSS_MECH_KRB5 1
75 #pragma warning( disable: 4068 ) /* unknown pragma */
76 #pragma warning( disable: 4996 ) /* POSIX strdup */
79 # include <sdkddkver.h>
80 # if (NTDDI_VERSION >= NTDDI_VISTA)
81 # error Your build environment is configured for Windows Vista or above. \
82 This will cause compilation to fail. \
83 Configure your build environment to target Windows XP.