From b985a5faae53c5da5dcfabf8dfa4010a5d9f82b0 Mon Sep 17 00:00:00 2001 From: Francesco Cozzuto Date: Tue, 23 Sep 2025 09:36:40 +0200 Subject: [PATCH] Add HTTP_NOINCLUDE option --- misc/amalg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/amalg.py b/misc/amalg.py index 0e230d7..dc8fe12 100644 --- a/misc/amalg.py +++ b/misc/amalg.py @@ -40,7 +40,10 @@ header.append_text("#endif // HTTP_AMALGAMATION\n") header.save("chttp.h") source = Amalgamator() + +source.append_text("#ifndef HTTP_NOINCLUDE\n") source.append_text("#include \"chttp.h\"\n") +source.append_text("#endif\n") source.append_file("src/sec.h") source.append_file("src/socket_raw.h")