Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelicaInternal.c and NO_FILE_SYSTEM #3221

Closed
d94pn opened this issue Nov 11, 2019 · 0 comments · Fixed by #3222
Closed

ModelicaInternal.c and NO_FILE_SYSTEM #3221

d94pn opened this issue Nov 11, 2019 · 0 comments · Fixed by #3222
Assignees
Labels
enhancement New feature or enhancement L: C-Sources Issue addresses Modelica/Resources/C-Sources
Milestone

Comments

@d94pn
Copy link

d94pn commented Nov 11, 2019

Hello,
The majority of the file inclusions are guarded by the preprocessor variable NO_FILE_SYSTEM.
However, lines such as:

124: #include <string.h>
131: #include <unistd.h>

..are not. Is this on purpose?

@beutlich beutlich self-assigned this Nov 11, 2019
@beutlich beutlich added enhancement New feature or enhancement L: C-Sources Issue addresses Modelica/Resources/C-Sources labels Nov 11, 2019
beutlich added a commit to beutlich/ModelicaStandardLibrary that referenced this issue Nov 11, 2019
No need to include headers string.h or unistd.h if NO_FILE_SYSTEM is defined
@beutlich beutlich added this to the MSL4.0.0 milestone Nov 11, 2019
beutlich added a commit that referenced this issue Nov 12, 2019
No need to include headers string.h or unistd.h if NO_FILE_SYSTEM is defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement L: C-Sources Issue addresses Modelica/Resources/C-Sources
Projects
None yet
2 participants