Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKissaki <kissaki@gmx.de>2013-01-13 03:06:29 +0400
committerKissaki <kissaki@gmx.de>2013-06-04 23:59:51 +0400
commit7642e722ff8c10b6c5e7641d7d54d576fd96b50c (patch)
treee0f4bbc0b678dbe72296010ebe6c9a37b9390a74 /scripts
parent40ca9b4507eed28c800fa724770d70cccc273882 (diff)
Adjust header guard defines for uniformity
* Append underline to header guard defines to match the others (except ui_) * Add guard to header files GlobalShortcut * Adjust mklic.pl script to add guard to licenses.h, and add updated licenses.h.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mklic.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/mklic.pl b/scripts/mklic.pl
index cbd07d2ee..ae7170c04 100755
--- a/scripts/mklic.pl
+++ b/scripts/mklic.pl
@@ -41,6 +41,9 @@ print $F "/*\n";
print $F " * This file was auto-generated by scripts/mklic.pl\n";
print $F " * DO NOT EDIT IT MANUALLY\n";
print $F " */\n";
+print $F "#ifndef LICENSES_H_\n";
+print $F "#define LICENSES_H_\n";
+print $F "\n";
print $F "#include <QtGlobal>\n\n";
print $F licenseFileToVar("licenseMumble", "../LICENSE");
@@ -89,6 +92,8 @@ foreach (@thirdPartyLicenses) {
}
print $F "\t0\n";
-print $F "};\n\n\n";
+print $F "};\n";
+print $F "\n";
+print $F "#endif\n";
close($F);