aboutsummaryrefslogtreecommitdiff
path: root/mp3write~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-08-01 23:29:14 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit643db65912ac1b19cafc5e6a194828132029ba79 (patch)
tree60a26041fed52e63efa59cd0c2975fffa265fdfb /mp3write~.c
parentac7266a0e930bd947d9f22af43d9c222574fe1bd (diff)
replaced NT and UNIX macros with _WIN32 and _MSC_VER where appropriate
svn path=/trunk/externals/unauthorized/; revision=15192
Diffstat (limited to 'mp3write~.c')
-rw-r--r--mp3write~.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp3write~.c b/mp3write~.c
index d16c427..c230c1e 100644
--- a/mp3write~.c
+++ b/mp3write~.c
@@ -113,10 +113,10 @@ static void mp3write_encode(t_mp3write *x)
int err = -1;
int n = x->x_lamechunk;
-#ifdef UNIX
- if(x->x_lamechunk < (int)sizeof(x->x_mp3inbuf))
-#else
+#ifdef _WIN32
if(x->x_lamechunk < sizeof(x->x_mp3inbuf))
+#else
+ if(x->x_lamechunk < (int)sizeof(x->x_mp3inbuf))
#endif
{
error("not enough memory!");