From 51821f380d7dc5f105a73bf78f57766c510e944e Mon Sep 17 00:00:00 2001 From: aphage Date: Wed, 8 Apr 2020 11:46:52 +0800 Subject: [PATCH] Prevent duplicate header file addition --- projects/Aqua-shellcode-generator/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/Aqua-shellcode-generator/main.c b/projects/Aqua-shellcode-generator/main.c index 38199e7..abd7c8d 100644 --- a/projects/Aqua-shellcode-generator/main.c +++ b/projects/Aqua-shellcode-generator/main.c @@ -31,6 +31,8 @@ LPSTR shellcodeHeader = "/****************************************************** "SOFTWARE.\r\n" "*/ \r\n" "\r\n" +"#ifndef _AQUA_SHELLCODE_H\r\n" +"#define _AQUA_SHELLCODE_H\r\n" "\r\n" "#ifdef __cplusplus\r\n" "extern \"C\" {\r\n" @@ -63,6 +65,7 @@ LPSTR shellcodeEnd = "\r\n};\r\n" "\r\n" "#ifdef __cplusplus\r\n" "}\r\n" +"#endif\r\n" "#endif\r\n"; #ifdef _WIN64