Skip to content

Commit c64a038

Browse files
committed
- fix Windows build
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16791 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 2556776 commit c64a038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/runtime/systemimpl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,7 @@ int System_numProcessors()
22052205
return res;
22062206
}
22072207
#endif
2208-
#if defined(_MSC_VER)
2208+
#if defined(__MINGW32__) || defined(_MSC_VER)
22092209
SYSTEM_INFO sysinfo;
22102210
GetSystemInfo( &sysinfo );
22112211
return sysinfo.dwNumberOfProcessors;

0 commit comments

Comments
 (0)