File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 100100fi
101101
102102
103- AC_CHECK_HEADERS ( [ arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h] )
103+ AC_CHECK_HEADERS ( [ arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h stdatomic.h ] )
104104AC_CHECK_LIB ( [ network] ,[ socket] )
105105AC_C_BIGENDIAN
106106AC_C___ATOMIC
Original file line number Diff line number Diff line change 307307 #define WOLFSSL_ATOMIC_OPS
308308#endif
309309#else
310+ #ifdef HAVE_STDATOMIC_H
310311 /* Default C Implementation */
311312 #include <stdatomic.h>
312313 typedef atomic_int wolfSSL_Atomic_Int ;
313314 #define WOLFSSL_ATOMIC_OPS
315+ #endif /* HAVE_STDATOMIC_H */
314316#endif
315317#elif defined(_MSC_VER )
316318 /* Use MSVC compiler intrinsics for atomic ops */
You can’t perform that action at this time.
0 commit comments