Skip to content

Commit

Permalink
mbccS2(FOO) for where FOO is a macro, not a parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mirabilos committed Oct 12, 2023
1 parent 4309fe8 commit 1bd28f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .linked/mbsdcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#ifndef SYSKERN_MBSDCC_H
#define SYSKERN_MBSDCC_H "$MirOS: src/bin/pax/.linked/mbsdcc.h,v 1.6 2023/10/07 01:29:57 tg Exp $"
#define SYSKERN_MBSDCC_H "$MirOS: src/bin/pax/.linked/mbsdcc.h,v 1.7 2023/10/12 15:32:12 tg Exp $"

/*
* Note: this header uses the SIZE_MAX (or similar) definitions
Expand Down Expand Up @@ -149,6 +149,7 @@ template<> struct mbccCEX_sa<false,true>{};

/* stringification with expansion */
#define mbccS(x) #x
#define mbccS2(x) mbccS(x)

/* compile-time assertions */
#undef mbccCTA
Expand Down

0 comments on commit 1bd28f0

Please sign in to comment.