Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis bnoordhuis/patsje.patch Secret
Created Mar 30, 2012

Embed
What would you like to do?
diff --git a/include/uv-private/tree.h b/include/uv-private/tree.h
index eb05cdc..f070928 100644
--- a/include/uv-private/tree.h
+++ b/include/uv-private/tree.h
@@ -26,10 +26,12 @@
#ifndef UV_TREE_H_
#define UV_TREE_H_
-#if __GNUC__
-# define __unused __attribute__((unused))
-#else
-# define __unused
+#ifndef __unused
+# if __GNUC__
+# define __unused __attribute__((unused))
+# else
+# define __unused
+# endif
#endif
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.