1
0
mirror of http://mpg123.de/trunk/.git synced 2025-10-23 16:48:31 +03:00

Rename NO_ERROR macro to NO_ERRORMSG, patch by Ozkan Sezer.

git-svn-id: svn://scm.orgis.org/mpg123/trunk@2890 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
jon_y
2011-02-24 11:23:18 +00:00
parent 5a67508449
commit 89a59f3ad0
3 changed files with 3 additions and 3 deletions

View File

@@ -382,7 +382,7 @@ AC_ARG_ENABLE(messages,
if test "x$messages" = "xdisabled"; then
AC_DEFINE(NO_WARNING, 1, [ Define to disable warning messages. ])
AC_DEFINE(NO_ERROR, 1, [ Define to disable error messages. ])
AC_DEFINE(NO_ERRORMSG, 1, [ Define to disable error messages. ])
AC_DEFINE(NO_ERETURN, 1, [ Define to disable error messages in combination with a return value (the return is left intact). ])
fi

View File

@@ -254,7 +254,7 @@
/* #undef NO_ERETURN */
/* Define to disable error messages. */
/* #undef NO_ERROR */
/* #undef NO_ERRORMSG */
/* Define to disable feeder and buffered readers. */
/* #undef NO_FEEDER */

View File

@@ -97,7 +97,7 @@
#endif
/* error macros also here... */
#ifndef NO_ERROR
#ifndef NO_ERRORMSG
#define error(s) fprintf(stderr, "[" __FILE__ ":%i] error: " s "\n", __LINE__)
#define error1(s, a) fprintf(stderr, "[" __FILE__ ":%i] error: " s "\n", __LINE__, a)
#define error2(s, a, b) fprintf(stderr, "[" __FILE__ ":%i] error: " s "\n", __LINE__, a, b)