mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-18 05:23:47 +00:00
Add workarounds for libusb in c99.
This commit is contained in:
@@ -166,6 +166,9 @@ AC_MSG_RESULT($enable_std_c99)
|
|||||||
if test x"$enable_std_c99" != "xno"
|
if test x"$enable_std_c99" != "xno"
|
||||||
then
|
then
|
||||||
CFLAGS="$CFLAGS -std=c99"
|
CFLAGS="$CFLAGS -std=c99"
|
||||||
|
|
||||||
|
# Workarounds for libusb in c99
|
||||||
|
CFLAGS="$CFLAGS -Du_int8_t=uint8_t -Du_int16_t=uint16_t"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
|||||||
Reference in New Issue
Block a user