mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Use _fgetc_nolock with msvc
This commit is contained in:
parent
b92f62337f
commit
5dcc221950
@ -38,7 +38,7 @@
|
||||
#if !defined( HAVE_FGETC_NOLOCK )
|
||||
#ifdef _MSC_VER
|
||||
//getc is not a macro on windows and adds a tiny overhead for the indirection to eventually calling fgetc
|
||||
#define getc_unlocked fgetc
|
||||
#define getc_unlocked _fgetc_nolock
|
||||
#else
|
||||
#define getc_unlocked getc
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user