mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-05 21:13:49 +00:00
Merge pull request #1364 from martinwoodward/thank-martin
Give props to Martin Pool
This commit is contained in:
commit
3e212548f8
@ -9,7 +9,10 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* Shamelessly borrowed from http://stackoverflow.com/questions/3417837/ */
|
||||
/* Shamelessly borrowed from http://stackoverflow.com/questions/3417837/
|
||||
* with permission of the original author, Martin Pool.
|
||||
* http://sourcefrog.net/weblog/software/languages/C/unused.html
|
||||
*/
|
||||
#ifdef UNUSED
|
||||
#elif defined(__GNUC__)
|
||||
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user