1 /* 2 * wpa_supplicant/hostapd - Build time configuration defines 3 * Copyright (c) 2005-2006, Jouni Malinen <j (at) w1.fi> 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 * 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 12 * defines. 13 */ 14 15 #ifndef BUILD_CONFIG_H 16 #define BUILD_CONFIG_H 17 18 /* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */ 19 20 #ifdef CONFIG_WIN32_DEFAULTS 21 #define CONFIG_NATIVE_WINDOWS 22 #define CONFIG_ANSI_C_EXTRA 23 #define CONFIG_WINPCAP 24 #define IEEE8021X_EAPOL 25 #define PKCS12_FUNCS 26 #define PCSC_FUNCS 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 32 #define EAP_MD5 33 #define EAP_TLS 34 #define EAP_MSCHAPv2 35 #define EAP_PEAP 36 #define EAP_TTLS 37 #define EAP_GTC 38 #define EAP_OTP 39 #define EAP_LEAP 40 #define EAP_TNC 41 #define _CRT_SECURE_NO_DEPRECATE 42 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 */ 49 50 #ifdef __SYMBIAN32__ 51 #define OS_NO_C_LIB_DEFINES 52 #define CONFIG_ANSI_C_EXTRA 53 #define CONFIG_NO_WPA_MSG 54 #define CONFIG_NO_HOSTAPD_LOGGER 55 #define CONFIG_NO_STDOUT_DEBUG 56 #define CONFIG_BACKEND_FILE 57 #define CONFIG_INTERNAL_LIBTOMMATH 58 #define CONFIG_CRYPTO_INTERNAL 59 #define IEEE8021X_EAPOL 60 #define PKCS12_FUNCS 61 #define EAP_MD5 62 #define EAP_TLS 63 #define EAP_MSCHAPv2 64 #define EAP_PEAP 65 #define EAP_TTLS 66 #define EAP_GTC 67 #define EAP_OTP 68 #define EAP_LEAP 69 #define EAP_FAST 70 #endif /* __SYMBIAN32__ */ 71 72 #ifdef CONFIG_XCODE_DEFAULTS 73 #define CONFIG_DRIVER_OSX 74 #define CONFIG_BACKEND_FILE 75 #define IEEE8021X_EAPOL 76 #define PKCS12_FUNCS 77 #define CONFIG_CTRL_IFACE 78 #define CONFIG_CTRL_IFACE_UNIX 79 #define CONFIG_DEBUG_FILE 80 #define EAP_MD5 81 #define EAP_TLS 82 #define EAP_MSCHAPv2 83 #define EAP_PEAP 84 #define EAP_TTLS 85 #define EAP_GTC 86 #define EAP_OTP 87 #define EAP_LEAP 88 #define EAP_TNC 89 #define CONFIG_WPS 90 #define EAP_WSC 91 92 #ifdef USE_INTERNAL_CRYPTO 93 #define CONFIG_TLS_INTERNAL_CLIENT 94 #define CONFIG_INTERNAL_LIBTOMMATH 95 #define CONFIG_CRYPTO_INTERNAL 96 #endif /* USE_INTERNAL_CRYPTO */ 97 #endif /* CONFIG_XCODE_DEFAULTS */ 98 99 #endif /* BUILD_CONFIG_H */ 100