Include mongoose_custom.h early to allow overrides

This commit is contained in:
cpq committed 2022-08-20 18:26:29 +01:00
1 parent eca612d514
commit 786e118f06
2 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -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
+4 -4
View File
@@ -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"