libusb / libusb-cmake

CMake build system for libusb
https://github.com/libusb/libusb
GNU Lesser General Public License v2.1
26 stars 12 forks source link

Define _GNU_SOURCE in config.h #21

Closed Youw closed 8 months ago

Youw commented 8 months ago

Same way as libusb/autotools does it.

Youw commented 8 months ago

@ririyeye, this should fix the issue you have. Try if it works.

github-actions[bot] commented 8 months ago

Test Results

 9 files  ±0   9 suites  ±0   2m 54s :stopwatch: -29s  4 tests ±0   4 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  34 runs  ±0  34 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit ab32b4b4. ± Comparison against base commit 84fb1bba.

ririyeye commented 8 months ago

@ririyeye, this should fix the issue you have. Try if it works.

yes , it works well