added check for window's api's min macro
This commit is contained in:
parent
dcd6602293
commit
660e0b868b
@ -193,6 +193,12 @@ WOLFSSL_LOCAL int UnLockMutex(wolfSSL_Mutex*);
|
||||
#endif /* NO_FILESYSTEM */
|
||||
|
||||
|
||||
/* Windows API defines its own min() macro. */
|
||||
#if defined(USE_WINDOWS_API) && defined(min)
|
||||
#define WOLFSSL_HAVE_MIN
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user