2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 00:35:14 +00:00

Only do "extern int errno" if errno is not a macro.

This commit is contained in:
Todd C. Miller
2004-02-08 20:53:55 +00:00
parent a622cb2795
commit d80d2e29ad
2 changed files with 4 additions and 0 deletions

View File

@@ -48,7 +48,9 @@ static const char rcsid[] = "$Sudo$";
* few programs actually do that.
*/
#ifndef errno
extern int errno;
#endif
#define DUMMY(fn, args, atypes) \
int \