Changed SPDLOG_VERSION to be numeric

This commit is contained in:
gabime 2018-07-25 00:03:27 +03:00
parent 0da977f9c7
commit 74c10df169
2 changed files with 12 additions and 2 deletions

View File

@ -5,8 +5,6 @@
#pragma once
#define SPDLOG_VERSION "1.0.0-rc"
#include "spdlog/tweakme.h"
#include <atomic>

12
include/spdlog/version.h Normal file
View File

@ -0,0 +1,12 @@
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#define SPDLOG_VER_MAJOR 1
#define SPDLOG_VER_MINOR 0
#define SPDLOG_VER_PATCH 0
#define SPDLOG_VERSION (SPDLOG_VER_MAJOR * 10000 + SPDLOG_VER_MINOR * 100 + SPDLOG_VER_PATCH)