# ifdef __va_copy
__va_copy(vsprintf_args, args);
# else
-# if defined(__GNUC__) && !defined(__DJGPP__) /* and probably in other cases */
+# if defined(__GNUC__) && !defined(__DJGPP__) \
+ && !defined(__EMX__) /* and probably in other cases */
va_copy(vsprintf_args, args);
# else
vsprintf_args = args;
break;
default:
# if defined(__va_copy) \
- || (defined(__GNUC__) && !defined(__DJGPP__))
+ || (defined(__GNUC__) && !defined(__DJGPP__) \
+ && !defined(__EMX__))
va_end(vsprintf_args);
# endif
return(-1);
}
res = vsprintf(buf, conv_spec, vsprintf_args);
# if defined(__va_copy) \
- || (defined(__GNUC__) && !defined(__DJGPP__))
+ || (defined(__GNUC__) && !defined(__DJGPP__) \
+ && !defined(__EMX__))
va_end(vsprintf_args);
# endif
len = (size_t)res;