Mercurial > msvpvf
changeset 48:652343b56a60
Remove the need for <inttypes.h> and <stdbool.h>
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 22 May 2022 00:08:10 -0400 |
parents | 7cb4ca7cf257 |
children | d14874c7ca98 |
files | Makefile include/common.h src/common.c src/main.c |
diffstat | 4 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat May 21 18:41:54 2022 -0400 +++ b/Makefile Sun May 22 00:08:10 2022 -0400 @@ -9,7 +9,7 @@ # GUI is windows-only, please use cross-compiler! gui: src/gui.o src/common.o - $(CC) -o $@ $^ $(CC_FLAGS) $(LD_FLAGS) -mwindows + $(CC) -o $@ $^ $(CC_FLAGS) $(LD_FLAGS) -mwindows -fstack-protector clean: rm -f src/*.o *.exe msvpvf gui
--- a/include/common.h Sat May 21 18:41:54 2022 -0400 +++ b/include/common.h Sun May 22 00:08:10 2022 -0400 @@ -1,2 +1,2 @@ -void set_data(unsigned char magic[], uint16_t version, FILE* target); -int copy_file(char* source_file, char* target_file); \ No newline at end of file +void set_data(unsigned char magic[], int version, FILE* target); +int copy_file(char* source_file, char* target_file);