#define ARGPAR_ASSERT(_cond) assert(_cond)
-#ifdef __MINGW_PRINTF_FORMAT
-# define ARGPAR_PRINTF_FORMAT __MINGW_PRINTF_FORMAT
-#else
-# define ARGPAR_PRINTF_FORMAT printf
-#endif
-
/*
* An argpar iterator.
*
if (unknown_opt_name) {
(*error)->unknown_opt_name = ARGPAR_CALLOC(char,
- strlen(unknown_opt_name) + 1 + is_short ? 1 : 2);
+ strlen(unknown_opt_name) + 1 + (is_short ? 1 : 2));
if (!(*error)->unknown_opt_name) {
goto error;
}