Skip to content

Commit 29b915c

Browse files
Move HAVE_LIMITS_H outside of WOLFSSL_OPTIONS_IGNORE_SYS.
1 parent e8958da commit 29b915c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmake/options.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ extern "C" {
3333
#endif
3434

3535
#ifndef WOLFSSL_OPTIONS_IGNORE_SYS
36-
/* Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. */
37-
#undef HAVE_LIMITS_H
38-
#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@
3936
#undef _GNU_SOURCE
4037
#cmakedefine _GNU_SOURCE
4138
#undef _POSIX_THREADS
4239
#cmakedefine _POSIX_THREADS
4340
#endif
41+
/* Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. */
42+
#undef HAVE_LIMITS_H
43+
#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@
4444
#undef ASIO_USE_WOLFSSL
4545
#cmakedefine ASIO_USE_WOLFSSL
4646
#undef BOOST_ASIO_USE_WOLFSSL

0 commit comments

Comments
 (0)