Skip to content

Commit

Permalink
define __unused to nothing if not already defined
Browse files Browse the repository at this point in the history
fixes builds on BSD/OS
  • Loading branch information
djmdjm committed Mar 3, 2015
1 parent d608a51 commit 1598419
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -850,4 +850,8 @@ struct winsize {
# endif /* gcc version */
#endif /* __predict_true */

#ifndef __unused
# define __unused
#endif

#endif /* _DEFINES_H */

0 comments on commit 1598419

Please sign in to comment.