diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-12-09 06:25:59 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-12-09 06:25:59 +0000 |
commit | b13e2d6c3a525918ed0816c41433509477c9912a (patch) | |
tree | 3742538a19289098ae8ff6b04fec94bcab104dbc /mp3amp~ | |
parent | f3fa1baae47dcbf5539c877c20189a5e3dc37909 (diff) |
updated things for the new build system while maintaining backwords compatibilty
svn path=/trunk/externals/unauthorized/; revision=4173
Diffstat (limited to 'mp3amp~')
-rw-r--r-- | mp3amp~/mp3amp~.c | 8 | ||||
-rw-r--r-- | mp3amp~/mp3amp~.libs | 1 |
2 files changed, 6 insertions, 3 deletions
diff --git a/mp3amp~/mp3amp~.c b/mp3amp~/mp3amp~.c index 8eaebdb..c1f79be 100644 --- a/mp3amp~/mp3amp~.c +++ b/mp3amp~/mp3amp~.c @@ -57,17 +57,19 @@ #include <io.h>
#endif
-#ifdef NT
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
+#if defined(__APPLE__) || defined(WIN32)
+#define MSG_NOSIGNAL 0
+#endif
#ifdef UNIX
#define STRDUP strdup
#endif
-#ifdef NT
+#ifdef WIN32
#define STRDUP _strdup
-#define MSG_NOSIGNAL 0
#define sys_closesocket closesocket
#endif
diff --git a/mp3amp~/mp3amp~.libs b/mp3amp~/mp3amp~.libs new file mode 100644 index 0000000..25f437c --- /dev/null +++ b/mp3amp~/mp3amp~.libs @@ -0,0 +1 @@ +-lmp3lame |