2 * wpa_supplicant/hostapd - Build time configuration defines
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
14 * This header file can be used to define configuration defines that were
15 * originally defined in Makefile. This is mainly meant for IDE use or for
16 * systems that do not have suitable 'make' tool. In these cases, it may be
17 * easier to have a single place for defining all the needed C pre-processor
21 #ifndef BUILD_CONFIG_H
22 #define BUILD_CONFIG_H
24 /* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */
26 #ifdef CONFIG_WIN32_DEFAULTS
27 #define CONFIG_NATIVE_WINDOWS
28 #define CONFIG_ANSI_C_EXTRA
29 #define CONFIG_WINPCAP
30 #define IEEE8021X_EAPOL
33 #define CONFIG_CTRL_IFACE
34 #define CONFIG_CTRL_IFACE_NAMED_PIPE
35 #define CONFIG_DRIVER_NDIS
36 #define CONFIG_NDIS_EVENTS_INTEGRATED
37 #define CONFIG_DEBUG_FILE
47 #define _CRT_SECURE_NO_DEPRECATE
49 #ifdef USE_INTERNAL_CRYPTO
50 #define CONFIG_TLS_INTERNAL_CLIENT
51 #define CONFIG_INTERNAL_LIBTOMMATH
52 #define CONFIG_CRYPTO_INTERNAL
53 #endif /* USE_INTERNAL_CRYPTO */
54 #endif /* CONFIG_WIN32_DEFAULTS */
57 #define OS_NO_C_LIB_DEFINES
58 #define CONFIG_ANSI_C_EXTRA
59 #define CONFIG_NO_WPA_MSG
60 #define CONFIG_NO_HOSTAPD_LOGGER
61 #define CONFIG_NO_STDOUT_DEBUG
62 #define CONFIG_BACKEND_FILE
63 #define CONFIG_INTERNAL_LIBTOMMATH
64 #define CONFIG_CRYPTO_INTERNAL
65 #define IEEE8021X_EAPOL
76 #endif /* __SYMBIAN32__ */
78 #ifdef CONFIG_XCODE_DEFAULTS
79 #define CONFIG_DRIVER_OSX
80 #define CONFIG_BACKEND_FILE
81 #define IEEE8021X_EAPOL
83 #define CONFIG_CTRL_IFACE
84 #define CONFIG_CTRL_IFACE_UNIX
85 #define CONFIG_DEBUG_FILE
98 #ifdef USE_INTERNAL_CRYPTO
99 #define CONFIG_TLS_INTERNAL_CLIENT
100 #define CONFIG_INTERNAL_LIBTOMMATH
101 #define CONFIG_CRYPTO_INTERNAL
102 #endif /* USE_INTERNAL_CRYPTO */
103 #endif /* CONFIG_XCODE_DEFAULTS */
105 #endif /* BUILD_CONFIG_H */