mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Some minor build fixes for Visual C
This commit is contained in:
parent
e4c5ee9b89
commit
fa535c0b00
3 changed files with 16 additions and 3 deletions
|
@ -510,7 +510,9 @@ int main(int argc, char **argv)
|
|||
#endif
|
||||
|
||||
log_flush();
|
||||
#ifdef _WIN32
|
||||
#if defined(_MSC_VER)
|
||||
_exit(0);
|
||||
#elif defined(_WIN32)
|
||||
_Exit(0);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -207,6 +207,8 @@ void logv_error(const char *format, va_list ap)
|
|||
#ifdef EMSCRIPTEN
|
||||
log_files = backup_log_files;
|
||||
throw 0;
|
||||
#elif defined(_MSC_VER)
|
||||
_exit(1);
|
||||
#else
|
||||
_Exit(1);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue