aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/language
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2018-12-09 12:13:41 +0000
committerGravatar Alexey Sokolov2018-12-09 12:13:41 +0000
commit3e54ac6aa98eba22a511414293fe9cc6690a502e (patch)
tree348eef577e0787c0c9716bbd1a4b75917cb942c4 /src/modules/language
parentCmake: Specify source file encoding for MSVC (diff)
downloadKVIrc-3e54ac6aa98eba22a511414293fe9cc6690a502e.tar.gz
KVIrc-3e54ac6aa98eba22a511414293fe9cc6690a502e.tar.bz2
KVIrc-3e54ac6aa98eba22a511414293fe9cc6690a502e.zip
Update build_detector.pl to improve consistency with detector.cpp
Diffstat (limited to 'src/modules/language')
-rwxr-xr-xsrc/modules/language/detector/build_detector.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/language/detector/build_detector.pl b/src/modules/language/detector/build_detector.pl
index 389e869d2..f31b569dd 100755
--- a/src/modules/language/detector/build_detector.pl
+++ b/src/modules/language/detector/build_detector.pl
@@ -95,10 +95,10 @@ print OUTPUT "//\n";
print OUTPUT "// DO NOT EDIT THIS FILE: Edit detector/build_detector.pl instead!\n";
print OUTPUT "//\n";
print OUTPUT "\n";
-print OUTPUT "#include <stdlib.h>\n";
-print OUTPUT "#include <stdio.h>\n";
-print OUTPUT "#include <string.h>\n";
-print OUTPUT "#include <ctype.h>\n";
+print OUTPUT "#include <cstdlib>\n";
+print OUTPUT "#include <cstdio>\n";
+print OUTPUT "#include <cstring>\n";
+print OUTPUT "#include <cctype>\n";
print OUTPUT "\n";
print OUTPUT "#include \"detector.h\"\n";
print OUTPUT "\n";