mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-15 22:59:55 +00:00
Invert gate on printf attribute
Inverted the logic without thinking. Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
@@ -93,10 +93,10 @@
|
|||||||
* This module provides debugging functions.
|
* This module provides debugging functions.
|
||||||
*/
|
*/
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
|
|
||||||
#else
|
|
||||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
|
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
|
||||||
__attribute__((format (printf, string_index, first_to_check)))
|
__attribute__((format (printf, string_index, first_to_check)))
|
||||||
|
#else
|
||||||
|
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user