diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2018-08-21 15:18:56 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2018-08-21 19:56:12 +0000 |
commit | 65d9c473f035290b1b076268332c399125f048ca (patch) | |
tree | e6d4236dd6436e38ad7f6a586fecc7d563200426 /ws_version.h.in | |
parent | 0410a522d5b5e0b7c534146628770f9801e314e2 (diff) |
plugins: Minor interface improvement
Change the plugin compatibility check to make it more convenient to
define and check the major.minor Wireshark version.
Change-Id: I2a6d2a746682c29504311cce5c457e0a852c3daf
Reviewed-on: https://code.wireshark.org/review/29224
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ws_version.h.in')
-rw-r--r-- | ws_version.h.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ws_version.h.in b/ws_version.h.in new file mode 100644 index 0000000000..f89bfb80e2 --- /dev/null +++ b/ws_version.h.in @@ -0,0 +1,10 @@ +/* ws_version.h.in */ + +#ifndef __WS_VERSION_H__ +#define __WS_VERSION_H__ + +#define WIRESHARK_VERSION_MAJOR @PROJECT_MAJOR_VERSION@ +#define WIRESHARK_VERSION_MINOR @PROJECT_MINOR_VERSION@ +#define WIRESHARK_VERSION_MICRO @PROJECT_PATCH_VERSION@ + +#endif /* __WS_VERSION_H__ */ |