From b13e2d6c3a525918ed0816c41433509477c9912a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 9 Dec 2005 06:25:59 +0000 Subject: updated things for the new build system while maintaining backwords compatibilty svn path=/trunk/externals/unauthorized/; revision=4173 --- mp3live~/mp3fileout~.c | 7 ++++++- mp3live~/mp3fileout~.libs | 1 + mp3live~/mp3streamin~.c | 6 +++++- mp3live~/mp3streamin~.libs | 1 + mp3live~/mp3streamout~.c | 4 ++++ mp3live~/mp3streamout~.libs | 1 + 6 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 mp3live~/mp3fileout~.libs create mode 100644 mp3live~/mp3streamin~.libs create mode 100644 mp3live~/mp3streamout~.libs (limited to 'mp3live~') diff --git a/mp3live~/mp3fileout~.c b/mp3live~/mp3fileout~.c index 0559a75..e8e1c6b 100644 --- a/mp3live~/mp3fileout~.c +++ b/mp3live~/mp3fileout~.c @@ -52,8 +52,13 @@ #include #include #include -#define MSG_NOSIGNAL 0 #endif + +#if defined(__APPLE__) || defined(WIN32) +#define MSG_NOSIGNAL 0 +#endif + + #include "mpg123.h" /* mpg123 decoding library from lame 3.92 */ #include "mpglib.h" /* mpglib decoding library from lame 3.92 */ #include "interface.h" /* mpglib decoding library from lame 3.92 */ diff --git a/mp3live~/mp3fileout~.libs b/mp3live~/mp3fileout~.libs new file mode 100644 index 0000000..25f437c --- /dev/null +++ b/mp3live~/mp3fileout~.libs @@ -0,0 +1 @@ +-lmp3lame diff --git a/mp3live~/mp3streamin~.c b/mp3live~/mp3streamin~.c index 74a11f4..d34150b 100644 --- a/mp3live~/mp3streamin~.c +++ b/mp3live~/mp3streamin~.c @@ -40,7 +40,7 @@ #include #include -#ifdef UNIX +#ifndef WIN32 #include #include #include @@ -54,9 +54,13 @@ #define SOCKET_ERROR -1 #else #include +#endif + +#if defined(__APPLE__) || defined(WIN32) #define MSG_NOSIGNAL 0 #define SOL_TCP IPPROTO_TCP #endif + #include "mpg123.h" /* mpg123 decoding library from lame 3.92 */ #include "mpglib.h" /* mpglib decoding library from lame 3.92 */ #include "interface.h" /* mpglib decoding library from lame 3.92 */ diff --git a/mp3live~/mp3streamin~.libs b/mp3live~/mp3streamin~.libs new file mode 100644 index 0000000..25f437c --- /dev/null +++ b/mp3live~/mp3streamin~.libs @@ -0,0 +1 @@ +-lmp3lame diff --git a/mp3live~/mp3streamout~.c b/mp3live~/mp3streamout~.c index 9c9a024..0ed908a 100644 --- a/mp3live~/mp3streamout~.c +++ b/mp3live~/mp3streamout~.c @@ -53,8 +53,12 @@ #include #include #include +#endif + +#if defined(__APPLE__) || defined(WIN32) #define MSG_NOSIGNAL 0 #endif + #include /* lame encoder stuff */ #include "m_pd.h" /* standard pd stuff */ diff --git a/mp3live~/mp3streamout~.libs b/mp3live~/mp3streamout~.libs new file mode 100644 index 0000000..25f437c --- /dev/null +++ b/mp3live~/mp3streamout~.libs @@ -0,0 +1 @@ +-lmp3lame -- cgit v1.2.1