Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 1 | /* |
| 2 | * wpa_supplicant/hostapd - Build time configuration defines |
| 3 | * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> |
| 4 | * |
Dmitry Shmidt | c5ec7f5 | 2012-03-06 16:33:24 -0800 | [diff] [blame] | 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 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 | |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 50 | #endif /* BUILD_CONFIG_H */ |