Open
Description
Often C standard headers allow to specify which specification to conform to via defines. For example _POSIX_C_SOURCE
. With the these defines can be passed with -extra-arg
:
./scalaBindgen /usr/include/ctype.h -name ctype \
-extra-arg=-D_POSIX_C_SOURCE \
-extra-arg=-D_DONT_USE_CTYPE_INLINE_
The goal of this ticket is to think about how could provide a way to target a specific specification across different platforms.