diff options
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 |