Skip to content

[DEBUG] do not use ULOG macros if BUILD_LIBULOG is not defined#10

Open
michael-elomar wants to merge 1 commit intoParrot-Developers:masterfrom
michael-elomar:staging
Open

[DEBUG] do not use ULOG macros if BUILD_LIBULOG is not defined#10
michael-elomar wants to merge 1 commit intoParrot-Developers:masterfrom
michael-elomar:staging

Conversation

@michael-elomar
Copy link

libpomp must remain usable without libulog

#if !TARGET_OS_IPHONE
res = pthread_setname_np("pomp_watchdog");
if (res != 0)
#if defined(BUILD_LIBULOG)
Copy link
Contributor

Choose a reason for hiding this comment

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

no need for the ifdef, POMP_LOG_ERRNO already use ulog if available

Copy link
Author

Choose a reason for hiding this comment

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

Ah yes, I just fixed it. Thanks for the review !!

@michael-elomar michael-elomar force-pushed the staging branch 2 times, most recently from 86a6a73 to d826c34 Compare September 30, 2025 08:11
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