--- a/README.md Mon Aug 21 21:39:30 2017 -0500
+++ b/README.md Mon Aug 21 21:42:47 2017 -0500
@@ -6,4 +6,4 @@
Copy `purplecompat.h` into your plugin and you're good to go. Now you can use the `purple3` API and it'll work (for the most part) on `purple2` as well.
-There is a version in the file header that can be used to track whether or not a new version has been released. It follows DNS serial syntax. That is `YYYYMMDDNN` where `NN` is the `nth` update for that given day.
\ No newline at end of file
+There is a `#define PURPLE_TWOTREE_VERSION` that can be used to track whether or not a new version has been released. It follows DNS serial syntax. That is `YYYYMMDDNN` where `NN` is the `nth` update for that given day. \ No newline at end of file
--- a/purplecompat.h Mon Aug 21 21:39:30 2017 -0500
+++ b/purplecompat.h Mon Aug 21 21:42:47 2017 -0500
@@ -18,7 +18,10 @@
+#define PURPLE_TWOTREE_VERSION "2017082101" #if PURPLE_VERSION_CHECK(3, 0, 0)