ports/comms/sigrok/libsigrok/patches/patch-bindings_cxx_classes_cpp

16 lines
447 B
Text

Index: bindings/cxx/classes.cpp
--- bindings/cxx/classes.cpp.orig
+++ bindings/cxx/classes.cpp
@@ -17,12 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* Needed for isascii(), as used in the GNU libstdc++ headers */
-/* Needed in strutil.c for POSIX.1-2008 locale functions */
-#ifndef _XOPEN_SOURCE
-#define _XOPEN_SOURCE 700
-#endif
-
#include <config.h>
#include <libsigrokcxx/libsigrokcxx.hpp>