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

Use _fseeki64 instead of fseek on Windows #10739

Merged
merged 1 commit into from
May 26, 2023

Conversation

adeas31
Copy link
Member

@adeas31 adeas31 commented May 24, 2023

Allows loading files greater than 2GB

Related Issues

#8766

Copy link
Contributor

@mahge mahge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also other uses of fseek (a few more in SimulationRuntime/c directory itself). It might be better to fix all of them at the same time.

@adeas31 adeas31 enabled auto-merge (squash) May 25, 2023 07:24
@adeas31
Copy link
Member Author

adeas31 commented May 25, 2023

There are also other uses of fseek (a few more in SimulationRuntime/c directory itself). It might be better to fix all of them at the same time.

fseek should work in most cases.

Use _fseeki64 instead of fseek on Windows

Allows loading files greater than 2GB
@adeas31 adeas31 merged commit 96fe37f into OpenModelica:master May 26, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants