From 5052225b6a64507528cb9899867cb6672f129081 Mon Sep 17 00:00:00 2001 From: Irek Fakhrutdinov Date: Thu, 26 Sep 2024 12:03:12 +0200 Subject: [PATCH] wip Signed-off-by: Irek Fakhrutdinov --- c/modreg.c | 5 +++++ h/modreg.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/c/modreg.c b/c/modreg.c index aa9172fb5..fdd1a76fe 100644 --- a/c/modreg.c +++ b/c/modreg.c @@ -28,6 +28,11 @@ #include "logging.h" +#ifndef METTLE +/* TODO LE support after c/lpa.c gets it */ +#error LE is not supported +#endif + #define PACK_RC_RSN(rc32, rsn32) ((uint64_t) (rc32) << 32 | (rsn32)) #define LOG_DEBUG($fmt, ...) \ diff --git a/h/modreg.h b/h/modreg.h index 105561cc4..5070aef42 100644 --- a/h/modreg.h +++ b/h/modreg.h @@ -11,8 +11,12 @@ #ifndef H_MODREG_H_ #define H_MODREG_H_ 1 +#ifdef METTLE #include #include +#else +#include +#endif #include "lpa.h" #include "zowetypes.h"