modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
452 stars 165 forks source link

Add missing macro definitions #4282

Closed beutlich closed 5 months ago

beutlich commented 5 months ago

Closes #4280.

beutlich commented 5 months ago

Should we add the undefines to the other header files as well?

beutlich commented 5 months ago

This comment in the ModelicaUtilities.h is not correct:

It's updated now.

Should all of the define stuff be removed from .CI/Test/ModelicaUtilities.h,

I prefer to have it as is. After all, it is test code only.

Should we add the undefines to the other header files as well?

From what I checked, it is fine as it is.