commit 0909e6bac106cee7548ac3c979b2eb7c6ccc2f06
parent 1c83af511d4057ae5373a721ee255375787acdc3
Author: Joris Vink <joris@coders.se>
Date: Fri, 26 Sep 2014 15:50:56 +0200
Write our assets.h with a fixed include guard.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cli.c b/src/cli.c
@@ -309,8 +309,8 @@ cli_build(int argc, char **argv)
cli_file_open(assets_header,
O_CREAT | O_TRUNC | O_WRONLY, &s_fd);
- cli_file_writef(s_fd, "#ifndef __H_%s_ASSETS_H\n", appl);
- cli_file_writef(s_fd, "#define __H_%s_ASSETS_H\n", appl);
+ cli_file_writef(s_fd, "#ifndef __H_KORE_ASSETS_H\n");
+ cli_file_writef(s_fd, "#define __H_KORE_ASSETS_H\n");
cli_find_files(assets_path, cli_build_asset);
cli_file_writef(s_fd, "\n#endif\n");
cli_file_close(s_fd);