diff --git a/include/xparrow/xparrow_version.hpp b/include/xparrow/xparrow_version.hpp index 5053e451f..488f96db0 100644 --- a/include/xparrow/xparrow_version.hpp +++ b/include/xparrow/xparrow_version.hpp @@ -5,11 +5,11 @@ * * * The full license is in the file LICENSE, distributed with this software. * ***************************************************************************/ -#ifndef XPARROW_VERSION_HPP -#define XPARROW_VERSION_HPP +#pragma once -#define XPARROW_VERSION_MAJOR 0 -#define XPARROW_VERSION_MINOR 0 -#define XPARROW_VERSION_PATCH 1 - -#endif +namespace xparrow +{ + constexpr int XPARROW_VERSION_MAJOR = 0; + constexpr int XPARROW_VERSION_MINOR = 0; + constexpr int XPARROW_VERSION_PATCH = 1; +}