mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 12:35:20 +00:00
Invert gate on printf attribute
Inverted the logic without thinking. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
3891caf1ce
commit
abb3af7826
@ -93,10 +93,10 @@
|
||||
* This module provides debugging functions.
|
||||
*/
|
||||
#if defined(__GNUC__)
|
||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
|
||||
#else
|
||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \
|
||||
__attribute__((format (printf, string_index, first_to_check)))
|
||||
#else
|
||||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user