Skip to content

Commit

Permalink
Add LOGURU_VERSION_{MAJOR,MINOR,PATCH} macro
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed May 8, 2018
1 parent cd26965 commit 5f9788b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions loguru.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ Website: www.ilikebigbits.com
#ifndef LOGURU_HAS_DECLARED_FORMAT_HEADER
#define LOGURU_HAS_DECLARED_FORMAT_HEADER

// Semantic versioning. Loguru version can be printed with printf("%d.%d.%d", LOGURU_VERSION_MAJOR, LOGURU_VERSION_MINOR, LOGURU_VERSION_PATCH);
#define LOGURU_VERSION_MAJOR 1
#define LOGURU_VERSION_MINOR 8
#define LOGURU_VERSION_PATCH 0

#if defined(_MSC_VER)
#include <sal.h> // Needed for _In_z_ etc annotations
#endif
Expand Down

0 comments on commit 5f9788b

Please sign in to comment.