Add HTTP_NOINCLUDE option

This commit is contained in:
2025-09-23 09:36:40 +02:00
parent 477d4bec4c
commit b985a5faae
+3
View File
@@ -40,7 +40,10 @@ header.append_text("#endif // HTTP_AMALGAMATION\n")
header.save("chttp.h") header.save("chttp.h")
source = Amalgamator() source = Amalgamator()
source.append_text("#ifndef HTTP_NOINCLUDE\n")
source.append_text("#include \"chttp.h\"\n") source.append_text("#include \"chttp.h\"\n")
source.append_text("#endif\n")
source.append_file("src/sec.h") source.append_file("src/sec.h")
source.append_file("src/socket_raw.h") source.append_file("src/socket_raw.h")