Skip to content

Commit 9634e53

Browse files
authored
[PWGHF] DerivedTables: Handle B0 macro properly (#17017)
1 parent dc440ec commit 9634e53

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PWGHF/DataModel/DerivedTables.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,14 @@ DECLARE_TABLES_3P(Dstar, "DST", dstar, 6);
314314
DECLARE_TABLES_3P(Ds, "DS", ds, 9);
315315
DECLARE_TABLES_3P(LcToK0sP, "LCC", lc_to_k0s_p, 10);
316316
// Workaround for the existing B0 macro in termios.h
317+
#ifdef B0
317318
#pragma push_macro("B0")
318319
#undef B0
319320
DECLARE_TABLES_4P(B0, "B0", b0, 7);
320321
#pragma pop_macro("B0")
322+
#else
323+
DECLARE_TABLES_4P(B0, "B0", b0, 7);
324+
#endif
321325
DECLARE_TABLES_5P(XicToXiPiPi, "XICXPP", xic_to_xi_pi_pi, 8);
322326

323327
// ================

0 commit comments

Comments
 (0)