Skip to content

libusb: allow hidapi to be configured without using iconv#447

Open
wet34t wants to merge 1 commit into
signal11:masterfrom
wet34t:master
Open

libusb: allow hidapi to be configured without using iconv#447
wet34t wants to merge 1 commit into
signal11:masterfrom
wet34t:master

Conversation

@wet34t

@wet34t wet34t commented Nov 18, 2019

Copy link
Copy Markdown

Basically, the idea is to allow users to configure hidapi without using iconv, as icvon may have dependencies that may not be supported

@Youw

Youw commented Nov 18, 2019

Copy link
Copy Markdown

Please see #373
You're welcome to open this PR at https://github.com/libusb/hidapi

Comment thread libusb/hid.c
wchar_t *str = NULL;

#ifndef __ANDROID__ /* we don't use iconv on Android */
#if !defined(__ANDROID__) && !defined(NO_ICONV) /* we don't use iconv on Android */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#if !defined(__ANDROID__) && !defined(NO_ICONV) /* we don't use iconv on Android */
#if !defined(__ANDROID__) && !defined(NO_ICONV) /* we don't use iconv on Android, or when it is explicitly disabled */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants