mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 20:59:00 +08:00
Include mongoose_custom.h early to allow overrides
This commit is contained in:
parent
eca612d514
commit
786e118f06
@ -61,15 +61,15 @@ extern "C" {
|
||||
#define MG_ARCH MG_ARCH_RP2040
|
||||
#endif
|
||||
|
||||
#if !defined(MG_ARCH)
|
||||
#include <mongoose_custom.h>
|
||||
#endif
|
||||
|
||||
#if !defined(MG_ARCH)
|
||||
#error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
|
||||
#endif
|
||||
#endif // !defined(MG_ARCH)
|
||||
|
||||
#if MG_ARCH == MG_ARCH_CUSTOM
|
||||
#include <mongoose_custom.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -34,15 +34,15 @@
|
||||
#define MG_ARCH MG_ARCH_RP2040
|
||||
#endif
|
||||
|
||||
#if !defined(MG_ARCH)
|
||||
#include <mongoose_custom.h>
|
||||
#endif
|
||||
|
||||
#if !defined(MG_ARCH)
|
||||
#error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
|
||||
#endif
|
||||
#endif // !defined(MG_ARCH)
|
||||
|
||||
#if MG_ARCH == MG_ARCH_CUSTOM
|
||||
#include <mongoose_custom.h>
|
||||
#endif
|
||||
|
||||
#include "arch_esp32.h"
|
||||
#include "arch_esp8266.h"
|
||||
#include "arch_freertos_lwip.h"
|
||||
|
Loading…
Reference in New Issue
Block a user