Re:Apple's Module proposal to replace headers for C-based la...
by fleitz on Tuesday November 27, 2012 @02:49AM
(#4836122)
Which is pretty much how linking to a shared library works, your #defines and #includes have no effect.
[ Parent
| on HN ]
Re:Apple's Module proposal to replace headers for C-based la...
by dietrichepp on Friday November 30, 2012 @02:35AM
(#4852270)
Well, no. If you make a #define it will affect code in the #include. This is why you sees puts defined as
extern int puts(__const char *__s);
The reason for the double underscore is so the definitions won't be affected if 's' is a macro.