Skip to content

Commit

Permalink
defining custom config avoids warning of library builds pulling in op…
Browse files Browse the repository at this point in the history
…tions.h
  • Loading branch information
JacobBarthelmeh committed Dec 11, 2024
1 parent 4599216 commit 2749884
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wolfssl/wolfcrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,10 @@
#endif
#endif

#if (defined(BUILDING_WOLFSSL) && defined(WOLFSSL_USE_OPTIONS_H)) || \
(defined(BUILDING_WOLFSSL) && defined(WOLFSSL_OPTIONS_H) && \
!defined(EXTERNAL_OPTS_OPENVPN))
#if !defined(WOLFSSL_CUSTOM_CONFIG) && \
((defined(BUILDING_WOLFSSL) && defined(WOLFSSL_USE_OPTIONS_H)) || \
(defined(BUILDING_WOLFSSL) && defined(WOLFSSL_OPTIONS_H) && \
!defined(EXTERNAL_OPTS_OPENVPN)))
#warning wolfssl/options.h included in compiled wolfssl library object.
#endif

Expand Down

0 comments on commit 2749884

Please sign in to comment.