]> sigrok.org Git - libsigrok.git/commit
classes.cpp: Define _XOPEN_SOURCE for isascii()
authorDaniel Elstner <redacted>
Sun, 13 Sep 2015 18:12:12 +0000 (20:12 +0200)
committerDaniel Elstner <redacted>
Sun, 13 Sep 2015 18:12:12 +0000 (20:12 +0200)
commit000f504f246f713a86d653e0d6ee6c98a07e74fd
treece7cd312279d4ff0ad02368b63e64b5b899c07bd
parent56c8705e37314dafe35b680d2254b6f844e0ecc2
classes.cpp: Define _XOPEN_SOURCE for isascii()

The GNU libstdc++ headers use isascii(), which is not part of any
POSIX standard. On BSD, this breaks the build. It is however part
of XOPEN, which on Linux is apparently enabled implicitly for C++.

This should fix #649.
bindings/cxx/classes.cpp