Skip to content

Commit

Permalink
Use #ifdef instead of #if
Browse files Browse the repository at this point in the history
  • Loading branch information
Crest committed Jun 21, 2020
1 parent 54e5627 commit ff26313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stlink-lib/logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ int ugly_log(int level, const char *tag, const char *format, ...) {
* - LIBUSB_LOG_LEVEL_DEBUG (4) : debug and informational messages are printed to stderr
*/
int ugly_libusb_log_level(enum ugly_loglevel v) {
#if __FreeBSD__
#ifdef __FreeBSD__
// FreeBSD includes its own reimplementation of libusb.
// Its libusb_set_debug() function expects a lib_debug_level
// instead of a lib_log_level and is verbose enough to drown out
Expand Down

0 comments on commit ff26313

Please sign in to comment.