diff options
| author | 刘学利 <[email protected]> | 2020-10-10 12:05:09 +0800 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2020-10-10 12:05:09 +0800 |
| commit | 2fc03e9524f85281bc30bfee5a059f04cf5e9554 (patch) | |
| tree | 3056846ac15523aa6e6e04a7b602d286550c0de1 /src | |
| parent | faa909c3c583b9450fd207de9955c644b8e3304b (diff) | |
Develop export version
Diffstat (limited to 'src')
| -rw-r--r-- | src/HTTP_Analyze.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/HTTP_Analyze.c b/src/HTTP_Analyze.c index 7bf6941..a4bd5bb 100644 --- a/src/HTTP_Analyze.c +++ b/src/HTTP_Analyze.c @@ -22,6 +22,28 @@ #include "MESA_handle_logger.h" #include "field_stat.h" +#define GIT_VERSION_CATTER(v) __attribute__((__used__)) const char * GIT_VERSION_##v = NULL +#define GIT_VERSION_EXPEND(v) GIT_VERSION_CATTER(v) + +#ifdef __cplusplus +extern "C" +{ +#endif + + /* VERSION TAG */ +#ifdef GIT_VERSION + GIT_VERSION_EXPEND(GIT_VERSION); +#else + static __attribute__((__used__)) const char * GIT_VERSION_UNKNOWN = NULL; +#endif +#undef GIT_VERSION_CATTER +#undef GIT_VERSION_EXPEND + +#ifdef __cplusplus +} +#endif + + http_prog_runtime_parameter_t g_http_prog_para; int G_HTTP_H_VERSION_4_20191205 = 0; |
