-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update rizin and fix it #3008
Update rizin and fix it #3008
Conversation
@ret2libc it seems to have some problems. But I can't reproduce it with the same compiler and Windows SDK version, what do you think?
|
Could you try this patch? diff --git a/librz/include/rz_util/rz_time.h b/librz/include/rz_util/rz_time.h
index 685b02db41..14099821c9 100644
--- a/librz/include/rz_util/rz_time.h
+++ b/librz/include/rz_util/rz_time.h
@@ -13,6 +13,7 @@
#define ASCTIME_BUF_MINLEN 26
#ifdef _MSC_VER
+#include <rz_windows.h>
struct timeval;
struct timezone { |
Did you use |
i tried it all |
Could you put <rz_windows.h> though? Using "rz_windows.h" does not work at all because it can't find the file. |
@ret2libc It found it, but it still didn't solve the original problem |
@GustavoLCR do you have hints on how to solve this? |
We use timezone name though, not _timezone |
https://docs.microsoft.com/en-us/cpp/c-runtime-library/compatibility?view=msvc-170 Maybe some POSIX names are exported by default in older versions of UCRT, A |
@imbillow since your PR was merged, along with the version function change - please update the Rizin and also change the function call. |
Your checklist for this pull request
Detailed description
Test plan (required)
Closing issues