Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Prevent duplicate header file addition
Browse files Browse the repository at this point in the history
  • Loading branch information
aphage committed Apr 8, 2020
1 parent a13d30e commit 51821f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/Aqua-shellcode-generator/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 51821f3

Please sign in to comment.