libunit: added generation of version header file.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
'target_name': "unit-http",
|
||||
'sources': ["unit.cpp", "addon.cpp"],
|
||||
'include_dirs': [
|
||||
"<!(echo $UNIT_SRC_PATH)"
|
||||
"<!(echo $UNIT_SRC_PATH)", "<!(echo $UNIT_BUILD_PATH)"
|
||||
],
|
||||
'libraries': [
|
||||
"<!(echo $UNIT_LIB_STATIC_PATH)"
|
||||
|
||||
@@ -11,8 +11,10 @@
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nxt_unit_version.h"
|
||||
#include "nxt_unit_typedefs.h"
|
||||
|
||||
|
||||
enum {
|
||||
NXT_UNIT_OK = 0,
|
||||
NXT_UNIT_ERROR = 1,
|
||||
|
||||
Reference in New Issue
Block a user