Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Irek Fakhrutdinov <[email protected]>
  • Loading branch information
ifakhrutdinov committed Sep 26, 2024
1 parent 41e0d14 commit 5052225
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions c/modreg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...) \
Expand Down
4 changes: 4 additions & 0 deletions h/modreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
#ifndef H_MODREG_H_
#define H_MODREG_H_ 1

#ifdef METTLE
#include <metal/metal.h>
#include <metal/stdint.h>
#else
#include <stdint.h>
#endif

#include "lpa.h"
#include "zowetypes.h"
Expand Down

0 comments on commit 5052225

Please sign in to comment.