mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +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
|
#define MG_ARCH MG_ARCH_RP2040
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(MG_ARCH)
|
||||||
|
#include <mongoose_custom.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(MG_ARCH)
|
#if !defined(MG_ARCH)
|
||||||
#error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
|
#error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
|
||||||
#endif
|
#endif
|
||||||
#endif // !defined(MG_ARCH)
|
#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
|
#define MG_ARCH MG_ARCH_RP2040
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(MG_ARCH)
|
||||||
|
#include <mongoose_custom.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(MG_ARCH)
|
#if !defined(MG_ARCH)
|
||||||
#error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
|
#error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
|
||||||
#endif
|
#endif
|
||||||
#endif // !defined(MG_ARCH)
|
#endif // !defined(MG_ARCH)
|
||||||
|
|
||||||
#if MG_ARCH == MG_ARCH_CUSTOM
|
|
||||||
#include <mongoose_custom.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "arch_esp32.h"
|
#include "arch_esp32.h"
|
||||||
#include "arch_esp8266.h"
|
#include "arch_esp8266.h"
|
||||||
#include "arch_freertos_lwip.h"
|
#include "arch_freertos_lwip.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user