Are there pre-defined pre-processor macros in replit?


Where can I find a list of C++ (clang) pre-processor macros that are preset by replit?


Hey @cpl2602 welcome to the forums!

I don’t think there is a list on Replit, but like most other IDE’s with terminals normal Clang pre-processor macros should work → Compiler Explorer - Here is a list with all of the different macros and what they are used for. I hope this helps!

1 Like