Global macros naming conflicts
Author: vadimkantorovCreated Aug 23, 2026Updated Aug 23, 2026
https://github.com/jart/cosmopolitan/blob/d5225a693bbb6c916d84c0f3e88a9156707d461f/libc/integral/c.inc#L194 defines a global macro privileged which can conflict with existing functions/variables named so (happens in TeX sources, as analyzed by @dfyz)
Would it be possible to prefix these globally-defined macros e.g. with cosmo_ or sth similar to avoid naming conflicts? (or maybe undefine them at the end of required scope)
Thanks!
Source: jart/cosmopolitan