diff options
| author | Martin Matuska <mm@FreeBSD.org> | 2010-11-11 22:21:30 +0000 |
|---|---|---|
| committer | Martin Matuska <mm@FreeBSD.org> | 2010-11-11 22:21:30 +0000 |
| commit | 4db362f078d756476433b818a60ecdc86906c159 (patch) | |
| tree | 2dc755263f049e1519b2002c0ffdcb1ff75f902a /src/common/sysdefs.h | |
| parent | 140cf3d5f23f94d96c987db2d4b8a60926009aa5 (diff) | |
Diffstat (limited to 'src/common/sysdefs.h')
| -rw-r--r-- | src/common/sysdefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/sysdefs.h b/src/common/sysdefs.h index 1e138b1c2e79a..c74c6212cff57 100644 --- a/src/common/sysdefs.h +++ b/src/common/sysdefs.h @@ -24,6 +24,11 @@ # include <config.h> #endif +// Get standard-compliant stdio functions under MinGW and MinGW-w64. +#ifdef __MINGW32__ +# define __USE_MINGW_ANSI_STDIO 1 +#endif + // size_t and NULL #include <stddef.h> |
