Skip to content

Commit 71d7fe8

Browse files
committed
* Minors
1 parent 108d7a5 commit 71d7fe8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/log/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/log/iwlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ static iwrc _default_logfn(
423423
fnameptr = strdup(file);
424424
RCA(fnameptr, finish);
425425
}
426-
#ifdef IW_HAVE_BASENAME_R
426+
#if defined(IW_HAVE_BASENAME_R) && defined(__FreeBSD__)
427427
fname = basename_r(file, fnameptr);
428428
#else
429429
fname = basename(fnameptr); // NOLINT

0 commit comments

Comments
 (0)