File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ extern "C" {
6262#endif
6363
6464#if !defined(MG_ARCH)
65- #error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
65+ #include < mongoose_custom.h >
6666#endif
67- #endif // !defined(MG_ARCH)
6867
69- #if MG_ARCH == MG_ARCH_CUSTOM
70- #include < mongoose_custom.h >
68+ #if !defined( MG_ARCH)
69+ #error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
7170#endif
71+ #endif // !defined(MG_ARCH)
7272
7373
7474
Original file line number Diff line number Diff line change 3535#endif
3636
3737#if !defined(MG_ARCH )
38- #error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
38+ #include <mongoose_custom.h>
3939#endif
40- #endif // !defined(MG_ARCH)
4140
42- #if MG_ARCH == MG_ARCH_CUSTOM
43- #include <mongoose_custom.h>
41+ #if !defined( MG_ARCH )
42+ #error "MG_ARCH is not specified and we couldn't guess it. Set -D MG_ARCH=..."
4443#endif
44+ #endif // !defined(MG_ARCH)
4545
4646#include "arch_esp32.h"
4747#include "arch_esp8266.h"
You can’t perform that action at this time.
0 commit comments