Commit a9cb459
Win32: Guard timeapi.h include for MinGW compatibility (#1345)
* bugfix/mingw-timeapi
* fix: clean up Windows timer includes
- Removed legacy GCC-specific include block.
- Added compiler-specific headers:
- MSVC (_MSC_VER): includes <timeapi.h> and links winmm.lib
- Other compilers: includes <mmsystem.h>
- Ensures cross-compiler compatibility and avoids duplicate headers.
---------
Co-authored-by: Metehan Öztürk <[email protected]>
Co-authored-by: Monika Singh <[email protected]>1 parent 536914b commit a9cb459
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 42 | + | |
| 43 | + | |
47 | 44 | | |
| 45 | + | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
0 commit comments