Created
April 2, 2012 06:17
-
-
Save 2bits/2281194 to your computer and use it in GitHub Desktop.
net-snmp-5.7.1 patch fixes compile error on OSX Lion, but you must create darwin11.h first
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
--- a/include/net-snmp/system/darwin11.h | |
+++ b/include/net-snmp/system/darwin11.h | |
@@ -44,9 +44,9 @@ | |
/* | |
* This section defines Mac OS X 10.5 (and later) specific additions. | |
*/ | |
-#define darwin 10 | |
-#ifndef darwin10 | |
-# define darwin10 darwin | |
+#define darwin 11 | |
+#ifndef darwin11 | |
+# define darwin11 darwin | |
#endif | |
/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment