From 979e49fa8a566a5dcfc583957d5821d609308eae Mon Sep 17 00:00:00 2001 From: Danilo Horta Date: Tue, 26 Sep 2023 14:56:09 +0100 Subject: [PATCH] Update version to 0.7.2 and add static_assert macro --- hmmer-reader/CMakeLists.txt | 2 +- hmmer-reader/include/hmmer_reader/node.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hmmer-reader/CMakeLists.txt b/hmmer-reader/CMakeLists.txt index 43c99c5..65e8549 100644 --- a/hmmer-reader/CMakeLists.txt +++ b/hmmer-reader/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20.2 FATAL_ERROR) project( hmmer_reader - VERSION 0.7.1 + VERSION 0.7.2 LANGUAGES C) set(PROJECT_DESCRIPTION "HMMER ASCII file reader.") diff --git a/hmmer-reader/include/hmmer_reader/node.h b/hmmer-reader/include/hmmer_reader/node.h index 6331acc..06a31a1 100644 --- a/hmmer-reader/include/hmmer_reader/node.h +++ b/hmmer-reader/include/hmmer_reader/node.h @@ -7,6 +7,10 @@ #include #include +#ifndef static_assert +#define static_assert(expr, msg) _Static_assert(expr, msg) +#endif + enum { HMR_SYMBOLS_MAX = 32,