53319a
diff --git a/snappy-stubs-public.h.in b/snappy-stubs-public.h.in
53319a
index 3fd79bb..bb5b222 100644
53319a
--- a/snappy-stubs-public.h.in
53319a
+++ b/snappy-stubs-public.h.in
53319a
@@ -48,9 +48,9 @@
53319a
 #include <sys/uio.h>
53319a
 #endif  // HAVE_SYS_UIO_H
53319a
 
53319a
-#define SNAPPY_MAJOR ${SNAPPY_MAJOR}
53319a
-#define SNAPPY_MINOR ${SNAPPY_MINOR}
53319a
-#define SNAPPY_PATCHLEVEL ${SNAPPY_PATCHLEVEL}
53319a
+#define SNAPPY_MAJOR ${PROJECT_VERSION_MAJOR}
53319a
+#define SNAPPY_MINOR ${PROJECT_VERSION_MINOR}
53319a
+#define SNAPPY_PATCHLEVEL ${PROJECT_VERSION_PATCH}
53319a
 #define SNAPPY_VERSION \
53319a
     ((SNAPPY_MAJOR << 16) | (SNAPPY_MINOR << 8) | SNAPPY_PATCHLEVEL)
53319a