Replace http_/HTTP_ prefixes with chttp_/CHTTP_
This commit is contained in:
+4
-4
@@ -53,8 +53,8 @@ license = """
|
||||
"""
|
||||
|
||||
header = Amalgamator()
|
||||
header.append_text("#ifndef HTTP_INCLUDED\n")
|
||||
header.append_text("#define HTTP_INCLUDED\n")
|
||||
header.append_text("#ifndef CHTTP_INCLUDED\n")
|
||||
header.append_text("#define CHTTP_INCLUDED\n")
|
||||
header.append_text(desc)
|
||||
header.append_file("src/includes.h")
|
||||
header.append_file("src/basic.h")
|
||||
@@ -66,13 +66,13 @@ header.append_file("src/cert.h")
|
||||
header.append_file("src/client.h")
|
||||
header.append_file("src/server.h")
|
||||
header.append_text(license)
|
||||
header.append_text("#endif // HTTP_INCLUDED\n")
|
||||
header.append_text("#endif // CHTTP_INCLUDED\n")
|
||||
header.save("chttp.h")
|
||||
|
||||
source = Amalgamator()
|
||||
source.append_text(desc)
|
||||
source.append_text("\n")
|
||||
source.append_text("#ifndef HTTP_DONT_INCLUDE\n")
|
||||
source.append_text("#ifndef CHTTP_DONT_INCLUDE\n")
|
||||
source.append_text('#include "chttp.h"\n')
|
||||
source.append_text("#endif\n")
|
||||
source.append_file("src/basic.c")
|
||||
|
||||
Reference in New Issue
Block a user