1/* 2 * wpa_supplicant/hostapd - Build time configuration defines 3 * Copyright (c) 2005-2006, Jouni Malinen <j@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 CONFIG_XCODE_DEFAULTS 51#define CONFIG_DRIVER_OSX 52#define CONFIG_BACKEND_FILE 53#define IEEE8021X_EAPOL 54#define PKCS12_FUNCS 55#define CONFIG_CTRL_IFACE 56#define CONFIG_CTRL_IFACE_UNIX 57#define CONFIG_DEBUG_FILE 58#define EAP_MD5 59#define EAP_TLS 60#define EAP_MSCHAPv2 61#define EAP_PEAP 62#define EAP_TTLS 63#define EAP_GTC 64#define EAP_OTP 65#define EAP_LEAP 66#define EAP_TNC 67#define CONFIG_WPS 68#define EAP_WSC 69 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 */ 76 77#endif /* BUILD_CONFIG_H */ 78