Skip to content
  • Jehan's avatar
    app: revert `#pragma once` to macro guards in meson build. · fdb46684
    Jehan authored
    Some change which happened with the meson port. From my research, this
    `#pragma once` is not standard, though it is apparently implemented in
    most common compilers.
    Also apparently it is based on heuristic, hence it might happen that
    file identity fails. Though unsure how often it would happen, if ever, I
    don't find this very acceptable (and probably makes for hard-to-debug
    bugs).
    
    So let's revert to basic macro guards, stupid and no heuristic, which
    don't ever fail and are very easy to read.
    fdb46684