Increase _XOPEN_SOURCE to 600.
The snprintf() function conforms to C99. On FreeBSD, sys/cdefs.h instruct us that _XOPEN_SOURCE == 500 defines _POSIX_C_SOURCE as 199506 which in turn defines __ISO_C_VISIBLE as 1990. 600 is the minimal _XOPEN_SOURCE value we can use to allow us using C99 functions. Reported by: tinderbox
This commit is contained in:
parent
e0fab1c9a7
commit
73448612af
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
* @file pn532_uart.c
|
* @file pn532_uart.c
|
||||||
* @brief
|
* @brief
|
||||||
*/
|
*/
|
||||||
#define _XOPEN_SOURCE 500
|
#define _XOPEN_SOURCE 600
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue