https://linen.dev logo
Is there a C++ macro to test for openfoam.org vs. ...
# programming
t
Is there a C++ macro to test for openfoam.org vs. openfoam.com variant? I'd like to do something like this:
Copy code
#ifdef OF_ORG
foo()
#elsif OF_COM
bar()
#else
not_supported_error()
#endif