Skip to content

Commit b841555

Browse files
committed
Add __STDC_WANT_LIB_EXT1__ macro define for safe sscanf support
1 parent 477f9b6 commit b841555

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/pdal/test_pdalc_pipeline.c.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
* POSSIBILITY OF SUCH DAMAGE.
2929
*****************************************************************************/
3030

31+
// Required before including stdio.h to support secure scanf C functions
32+
#define __STDC_WANT_LIB_EXT1__ 1
33+
3134
#include <stdio.h>
3235
#include <assert.h>
3336

0 commit comments

Comments
 (0)