Commit 2eaed7b
committed
fix: guard strcasecmp redefinition in dxflib for MinGW
MinGW's string.h already defines strcasecmp as _stricmp, so the
unconditional #define in dl_codes.h causes a -Werror redefinition
failure on the CI cross-compilation build. Add a !defined guard.1 parent 16c5ba6 commit 2eaed7b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments