public
Created

net-snmp-5.7.1 patch fixes compile error on OSX Lion, but you must create darwin11.h first

  • Download Gist
darwin11.h.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--- 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
/*

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.