summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Porzelt <tp@cryosphere.de>2009-09-10 23:53:14 +0200
committerThomas Porzelt <tp@cryosphere.de>2009-09-10 23:53:14 +0200
commit20738ad07967a6f01c743c7dbfdfab30a037781d (patch)
treedbce8d5c9c9cdd4f6b0eeb571756b10543d8468a
parentdd6f9d16ad107c792c8f519716b3035192f4a3d0 (diff)
downloadweighttp-20738ad07967a6f01c743c7dbfdfab30a037781d.tar.gz
weighttp-20738ad07967a6f01c743c7dbfdfab30a037781d.zip
waf: fix broken wscript
-rw-r--r--src/weighttp.c2
-rw-r--r--wscript2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/weighttp.c b/src/weighttp.c
index c9c2800..e492045 100644
--- a/src/weighttp.c
+++ b/src/weighttp.c
@@ -8,8 +8,6 @@
* MIT, see COPYING file
*/
-#define VERSION "0.1"
-
#include "weighttp.h"
extern int optind, optopt; /* getopt */
diff --git a/wscript b/wscript
index 02a5270..2472d3e 100644
--- a/wscript
+++ b/wscript
@@ -62,7 +62,7 @@ def build(bld):
bld.new_task_gen(
features = 'cc cprogram',
source = ['src/client.c', 'src/weighttp.c', 'src/worker.c'],
- defines = ['HAVE_CONFIG_H=1', 'VERSION=' % VERSION],
+ defines = ['HAVE_CONFIG_H=1', 'VERSION="' + VERSION + '"'],
includes = '.',
uselib = 'ev pthread',
target = 'weighttp'