move macro definition
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2421 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
eb5092226d
commit
bc6a36e40d
|
@ -926,6 +926,12 @@ void renumber(filestruct *fileptr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_GETOPT_LONG
|
||||||
|
#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, longflag, desc)
|
||||||
|
#else
|
||||||
|
#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, desc)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Print one usage string to the screen. This cuts down on duplicate
|
/* Print one usage string to the screen. This cuts down on duplicate
|
||||||
* strings to translate, and leaves out the parts that shouldn't be
|
* strings to translate, and leaves out the parts that shouldn't be
|
||||||
* translatable (the flag names). */
|
* translatable (the flag names). */
|
||||||
|
|
|
@ -47,12 +47,6 @@
|
||||||
#define charcpy(dest, src, n) memcpy(dest, src, (n) * sizeof(char))
|
#define charcpy(dest, src, n) memcpy(dest, src, (n) * sizeof(char))
|
||||||
|
|
||||||
/* Other macros. */
|
/* Other macros. */
|
||||||
#ifdef HAVE_GETOPT_LONG
|
|
||||||
#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, longflag, desc)
|
|
||||||
#else
|
|
||||||
#define print1opt(shortflag, longflag, desc) print1opt_full(shortflag, desc)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BROKEN_REGEXEC
|
#ifdef BROKEN_REGEXEC
|
||||||
#undef regexec
|
#undef regexec
|
||||||
#define regexec(preg, string, nmatch, pmatch, eflags) safe_regexec(preg, string, nmatch, pmatch, eflags)
|
#define regexec(preg, string, nmatch, pmatch, eflags) safe_regexec(preg, string, nmatch, pmatch, eflags)
|
||||||
|
|
Loading…
Reference in New Issue