2 * wpa_supplicant/hostapd - Build time configuration defines
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
8 * This header file can be used to define configuration defines that were
9 * originally defined in Makefile. This is mainly meant for IDE use or for
10 * systems that do not have suitable 'make' tool. In these cases, it may be
11 * easier to have a single place for defining all the needed C pre-processor
15 #ifndef BUILD_CONFIG_H
16 #define BUILD_CONFIG_H
18 /* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */
20 #ifdef CONFIG_WIN32_DEFAULTS
21 #define CONFIG_NATIVE_WINDOWS
22 #define CONFIG_ANSI_C_EXTRA
23 #define CONFIG_WINPCAP
24 #define IEEE8021X_EAPOL
27 #define CONFIG_CTRL_IFACE
28 #define CONFIG_CTRL_IFACE_NAMED_PIPE
29 #define CONFIG_DRIVER_NDIS
30 #define CONFIG_NDIS_EVENTS_INTEGRATED
31 #define CONFIG_DEBUG_FILE
41 #define _CRT_SECURE_NO_DEPRECATE
43 #ifdef USE_INTERNAL_CRYPTO
44 #define CONFIG_TLS_INTERNAL_CLIENT
45 #define CONFIG_INTERNAL_LIBTOMMATH
46 #define CONFIG_CRYPTO_INTERNAL
47 #endif /* USE_INTERNAL_CRYPTO */
48 #endif /* CONFIG_WIN32_DEFAULTS */
50 #ifdef CONFIG_XCODE_DEFAULTS
51 #define CONFIG_DRIVER_OSX
52 #define CONFIG_BACKEND_FILE
53 #define IEEE8021X_EAPOL
55 #define CONFIG_CTRL_IFACE
56 #define CONFIG_CTRL_IFACE_UNIX
57 #define CONFIG_DEBUG_FILE
70 #ifdef USE_INTERNAL_CRYPTO
71 #define CONFIG_TLS_INTERNAL_CLIENT
72 #define CONFIG_INTERNAL_LIBTOMMATH
73 #define CONFIG_CRYPTO_INTERNAL
74 #endif /* USE_INTERNAL_CRYPTO */
75 #endif /* CONFIG_XCODE_DEFAULTS */
77 #endif /* BUILD_CONFIG_H */