mirror of
https://github.com/FreeRTOS/FreeRTOS-Plus-TCP
synced 2025-10-24 12:02:37 +08:00
Enable both ipconfigUSE_IPv6 ipconfigUSE_IPv4 while building (#776)
* display error message when either ipconfigUSE_IPv4 or ipconfigUSE_IPv6 is disabled * Uncrustify: triggered by comment. --------- Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -241,6 +241,11 @@
|
||||
#define ipconfigUSE_IPv6 ( 1 )
|
||||
#endif
|
||||
|
||||
#if ( ipconfigUSE_IPv4 != 1 ) || ( ipconfigUSE_IPv6 != 1 )
|
||||
#error "Build separation for both IPv4 and IPv6 is work in progress. \
|
||||
Please enable both ipconfigUSE_IPv4 and ipconfigUSE_IPv6 flags."
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If defined this macro enables the APIs that are backward compatible
|
||||
* with single end point IPv4 version of the FreeRTOS+TCP library.
|
||||
|
||||
Reference in New Issue
Block a user