xiaoxiang781216 commented on code in PR #20747:
URL: https://github.com/apache/nuttx/pull/20747#discussion_r4307632818


##########
Documentation/os/libs/libc/index.rst:
##########
@@ -70,6 +70,26 @@ directory::
 
   misc      - Nonstandard "glue" logic, nuttx/debug.h, crc32.h, dirent.h
 
+Non-standard Names in the Headers
+=================================
+
+Some headers define names for the OS that C and POSIX do not reserve.
+A portable program that uses such a name for its own purpose can define
+one of these macros before its first ``#include``:
+
+``NUTTX_NO_GETOPT_MACROS``

Review Comment:
   ok, let's keep the current naming and unify all skipping of POSIX macro 
definition to a common option when we find another macro need skipped.
   let's fix other comment and then merge this patch.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to