gundam-organization / gundam

GUNDAM, for Generalized and Unified Neutrino Data Analysis Methods, is a suite of applications which aims at performing various statistical analysis with different purposes and setups.
GNU Lesser General Public License v2.1
13 stars 11 forks source link

Fix preprocessor directive depending on new behavior #549

Closed ClarkMcGrew closed 3 months ago

ClarkMcGrew commented 3 months ago

Older GCC doesn't seem to support sequential evaluation of preprocessor expressions, so break the preprocessor code into the lowest common denominator. It's a lot more wordy, but should be safe everyplace