mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:34:14 +08:00
mdbx-windows: _NO_CRT_STDIO_INLINE to avoid dependency from CRT.
16 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43 Change-Id: Ie5d33e2a4f1fd281a28eaa6686aaf921ecc956b4
This commit is contained in:
parent
96491db229
commit
25ab7da33e
@ -28,10 +28,16 @@
|
|||||||
#pragma warning(disable : 4577) /* 'noexcept' used with no exception handling \
|
#pragma warning(disable : 4577) /* 'noexcept' used with no exception handling \
|
||||||
* mode specified; termination on exception is \
|
* mode specified; termination on exception is \
|
||||||
* not guaranteed. Specify /EHsc */
|
* not guaranteed. Specify /EHsc */
|
||||||
|
#endif /* _MSC_VER (warnings) */
|
||||||
|
|
||||||
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
#if !defined(_CRT_SECURE_NO_WARNINGS)
|
#if !defined(_CRT_SECURE_NO_WARNINGS)
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
#endif
|
#endif
|
||||||
#endif /* _MSC_VER (warnings) */
|
#if !defined(_NO_CRT_STDIO_INLINE) && defined(MDBX_BUILD_DLL)
|
||||||
|
#define _NO_CRT_STDIO_INLINE
|
||||||
|
#endif
|
||||||
|
#endif /* Windows */
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
/* C99 includes */
|
/* C99 includes */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user