Tasmota/lib/libesp32/ESP-Mail-Client/src/extras/Build_Options.h
s-hadinger c2f8821b2f
Sendmail upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS (#19460)
* `Sendmail` upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS

* Fix compilation on ESP8266

* Fix compilation

* fix compilation
2023-09-04 23:00:37 +02:00

52 lines
1.0 KiB
C

#ifndef BUILD_OPTIONS_H
#define BUILD_OPTIONS_H
#if defined(DISABLE_ALL_OPTIONS)
#undef ENABLE_NTP_TIME
#undef ENABLE_ERROR_STRING
#undef ENABLE_IMAP
#undef ENABLE_SMTP
#undef ESP_MAIL_USE_PSRAM
#undef ESP_MAIL_DEFAULT_SD_FS
#undef ESP_MAIL_CARD_TYPE_SD
#undef ESP_MAIL_CARD_TYPE_SD_MMC
#undef ESP_MAIL_DEFAULT_FLASH_FS
#undef ESP_MAIL_DEFAULT_DEBUG_PORT
#endif
#if defined(DISABLE_NTP_TIME)
#undef ENABLE_NTP_TIME
#endif
#if defined(DISABLE_ERROR_STRING)
#undef ENABLE_ERROR_STRING
#endif
#if defined(DISABLE_IMAP)
#undef ENABLE_IMAP
#endif
#if defined(DISABLE_SMTP)
#undef ENABLE_SMTP
#endif
#if defined(DISABLE_PSRAM)
#undef ESP_MAIL_USE_PSRAM
#endif
#if defined(DISABLE_SD)
#undef ESP_MAIL_DEFAULT_SD_FS
#undef ESP_MAIL_CARD_TYPE_SD_MMC
#undef ESP_MAIL_DEFAULT_FLASH_FS
#endif
#if defined(DISABLE_FLASH)
#undef ESP_MAIL_DEFAULT_FLASH_FS
#undef ESP_MAIL_FORMAT_FLASH_IF_MOUNT_FAILED
#endif
#if defined(ESP_MAIL_DEFAULT_DEBUG_PORT)
#undef ESP_MAIL_DEFAULT_DEBUG_PORT
#endif
#endif