-
-
Save bnoordhuis/83d98e1e584b7df02ee5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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