Skip to content

Conversation

@teakfi
Copy link

@teakfi teakfi commented Feb 18, 2025

Added preliminary code for compatibility in Windows with MS Visual Code C compiler.

setup.py checks if system is windows and changes the compilation flags to those used in Visual Code (different optimization level, no need for PIC and no Werror).

It would be better if this would be handled with checking if the compiler is MSVC, but there is no shorthand for it.

In the c-code I added check if the compiler is MSVC and changed the time-library header for correct one for MSVC if the compiler is MSVC.

Code is not tested on linux, but it should work.........

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.

1 participant