-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] - definition clash of LOG_INFO and LOG_DEBUG between shairport.…
…h and syslog.h
- Loading branch information
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- src/shairport.h 2011-10-01 04:09:16.000000000 +0200 | ||
+++ src/shairport.h 2011-11-07 18:05:05.000000000 +0100 | ||
@@ -16,10 +16,17 @@ | ||
|
||
#define HWID_SIZE 6 | ||
#define SHAIRPORT_LOG 1 | ||
-#define LOG_INFO 1 | ||
-#define LOG_DEBUG 5 | ||
-#define LOG_DEBUG_V 6 | ||
-#define LOG_DEBUG_VV 7 | ||
+ | ||
+#ifndef LOG_INFO | ||
+#define LOG_INFO 5 | ||
+#endif | ||
+ | ||
+#ifndef LOG_DEBUG | ||
+#define LOG_DEBUG 6 | ||
+#endif | ||
+ | ||
+#define LOG_DEBUG_V 7 | ||
+#define LOG_DEBUG_VV 8 | ||
|
||
struct shairbuffer | ||
{ |
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
24 changes: 24 additions & 0 deletions
24
tools/darwin/depends/libshairport/007_fix_syslog_defines.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- src/shairport.h 2011-10-01 04:09:16.000000000 +0200 | ||
+++ src/shairport.h 2011-11-07 18:05:05.000000000 +0100 | ||
@@ -16,10 +16,17 @@ | ||
|
||
#define HWID_SIZE 6 | ||
#define SHAIRPORT_LOG 1 | ||
-#define LOG_INFO 1 | ||
-#define LOG_DEBUG 5 | ||
-#define LOG_DEBUG_V 6 | ||
-#define LOG_DEBUG_VV 7 | ||
+ | ||
+#ifndef LOG_INFO | ||
+#define LOG_INFO 5 | ||
+#endif | ||
+ | ||
+#ifndef LOG_DEBUG | ||
+#define LOG_DEBUG 6 | ||
+#endif | ||
+ | ||
+#define LOG_DEBUG_V 7 | ||
+#define LOG_DEBUG_VV 8 | ||
|
||
struct shairbuffer | ||
{ |
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