mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +00:00
Include mongoose_custom.h early to allow overrides
This commit is contained in:
1 parent
eca612d514
commit
786e118f06
2 files changed
+8
-8
No files matched your search
+4
-4
@@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user