summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-12 09:04:01 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-12 09:04:01 -0700
commitdebedfeb0abb398443fa33452f486c6cc80bb832 (patch)
tree7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /configure
parenta5fe50aca04ca554d313e7361c571c6a497a9c4e (diff)
parent11cafc12d5440b67a9f676c9f6aa67840ca5399d (diff)
Merge pull request #461 from SaberUK/master+header-cleanup
Tidy up source files.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 3e5b517c6..1dc6b3ef1 100755
--- a/configure
+++ b/configure
@@ -876,8 +876,7 @@ sub writefiles {
open(FILEHANDLE, ">include/config.h.tmp");
print FILEHANDLE <<EOF;
/* Auto generated by configure, do not modify! */
-#ifndef __CONFIGURATION_AUTO__
-#define __CONFIGURATION_AUTO__
+#pragma once
#define BRANCH "$branch"
#define VERSION "$version"
@@ -946,7 +945,7 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n";
$config{SOCKETENGINE} = "socketengine_select";
}
}
- print FILEHANDLE "\n#include \"threadengines/threadengine_pthread.h\"\n\n#endif\n";
+ print FILEHANDLE "\n#include \"threadengines/threadengine_pthread.h\"\n";
close(FILEHANDLE);
my $file = 'include/config.h';