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

fix ftruncate for tcc on Windows #252

Merged
merged 2 commits into from
May 4, 2022
Merged

fix ftruncate for tcc on Windows #252

merged 2 commits into from
May 4, 2022

Conversation

Dialga
Copy link
Contributor

@Dialga Dialga commented May 3, 2022

No description provided.

src/zip.c Outdated
@@ -39,7 +39,7 @@
#include "miniz.h"
#include "zip.h"

#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(_WIN32) || defined(_WIN64)
Copy link
Owner

Choose a reason for hiding this comment

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

can we add ifdef for your compiler, because this change opens the if branch for all compilers on windows, and I'm not sure it's a good approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, added

@kuba-- kuba-- merged commit 0e81034 into kuba--:master May 4, 2022
@Dialga Dialga deleted the patch-2 branch May 4, 2022 08:42
@Dialga
Copy link
Contributor Author

Dialga commented Jun 2, 2022

Where did this commit go? I thought it got merged?

@kuba--
Copy link
Owner

kuba-- commented Jun 2, 2022

IDK, can you push the PR again?

@Dialga Dialga restored the patch-2 branch June 3, 2022 10:27
@Dialga Dialga deleted the patch-2 branch June 5, 2022 14:18
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