minabeoki commented on pull request #5522:
URL: https://github.com/apache/incubator-nuttx/pull/5522#issuecomment-1042604134


   @masayuki2009
   `__KERNEL__` is defined only for the kernel binary.
   In case of user land, `__KERNEL__` is not defined.
   mm is compiled for kernel and usr land. (libmm.a and libkmm.a)
   
   * kernel: CONFIG_BUILD_KERNEL and `__KERNEL__` are defined.
   * user land: CONFIG_BUILD_KERNEL is defined and `__KERNEL__` is not defined.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to