summaryrefslogtreecommitdiffstats
path: root/version.h.in
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2023-05-25 22:41:04 +0200
committerSuren A. Chilingaryan <csa@suren.me>2023-05-25 22:41:04 +0200
commit6f4af841f6fdd099b97d071ae64c8be60f809456 (patch)
treed4f9a18b38e1ce3cfc0a5336215d5ce3afe830d2 /version.h.in
downloadpcidev-6f4af841f6fdd099b97d071ae64c8be60f809456.tar.gz
pcidev-6f4af841f6fdd099b97d071ae64c8be60f809456.tar.bz2
pcidev-6f4af841f6fdd099b97d071ae64c8be60f809456.tar.xz
pcidev-6f4af841f6fdd099b97d071ae64c8be60f809456.zip
A sample event engine for pcitool (not requiring any PCIe hardware). Initial (barely tested and intended only as an example) release
Diffstat (limited to 'version.h.in')
-rw-r--r--version.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/version.h.in b/version.h.in
new file mode 100644
index 0000000..16dbac7
--- /dev/null
+++ b/version.h.in
@@ -0,0 +1,12 @@
+#ifndef _PCIDEV_VERSION_H
+#define _PCIDEV_VERSION_H
+
+#include <pcilib/version.h>
+
+#define PCIDEV_VERSION_MAJOR ${PCIDEV_VERSION_MAJOR}
+#define PCIDEV_VERSION_MINOR ${PCIDEV_VERSION_MINOR}
+#define PCIDEV_VERSION_MICRO ${PCIDEV_VERSION_MICRO}
+
+#define PCIDEV_VERSION PCILIB_MAKE_VERSION(PCIDEV_VERSION_MAJOR, PCIDEV_VERSION_MINOR, PCIDEV_VERSION_MICRO)
+
+#endif /* _PCIDEV_VERSION_H */