]> eyrie.org Git - kerberos/remctl.git/blob - config.h.w32
Ignore ignored attributes for Ruby
[kerberos/remctl.git] / config.h.w32
1 /* -*- c -*-
2  *
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.)
7  *
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
14  *
15  * SPDX-License-Identifier: MIT
16  */
17
18 /* Define to 1 if you have the declaration of `inet_ntoa', and to 0 if you
19    don't. */
20 #define HAVE_DECL_INET_NTOA 1
21
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
26
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
31
32 /* Define if your system has a working inet_ntoa function. */
33 #define HAVE_INET_NTOA 1
34
35 /* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
36 #define HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS 1
37
38 /* Define to 1 if the system has the type `krb5_realm'. */
39 #define HAVE_KRB5_REALM
40
41 /* Define to 1 if the system has <gssapi/gssapi.h>. */
42 #define HAVE_GSSAPI_GSSAPI_H
43
44 /* Define to 1 if the system has <gssapi/gssapi_krb5.h>. */
45 #define HAVE_GSSAPI_GSSAPI_KRB5_H
46
47 /* Define to 1 if the system has the type `long long'. */
48 #define HAVE_LONG_LONG
49
50 /* Define to 1 if you have the `setenv' function. */
51 #define HAVE_SETENV 1
52
53 /* Define if your system has a working snprintf function. */
54 #define HAVE_SNPRINTF 1
55
56 /* Define to 1 if you have the <string.h> header file. */
57 /* Defined in krb5 include files */
58 #ifndef HAVE_STRING_H
59 # define HAVE_STRING_H 1
60 #endif
61
62 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
63 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
64
65 /* Define to 1 if you have the ANSI C header files. */
66 #define STDC_HEADERS 1
67
68 /* Define to 1 if the GSS-API library uses RFC-compliant OIDs. */
69 #define HAVE_GSS_RFC_OIDS 1
70
71 /* Define to 1 if you have the declaration of `gss_mech_krb5', and to 0 if you
72    don't. */
73 #define HAVE_DECL_GSS_MECH_KRB5 1
74
75 #pragma warning( disable: 4068 )        /* unknown pragma */
76 #pragma warning( disable: 4996 )        /* POSIX strdup */
77
78 #ifndef RC_INVOKED
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.
84 # endif
85 #endif
86