summaryrefslogtreecommitdiff
path: root/src/libmad/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmad/global.h')
-rw-r--r--src/libmad/global.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/libmad/global.h b/src/libmad/global.h
index 8d6723016..2f4b41db5 100644
--- a/src/libmad/global.h
+++ b/src/libmad/global.h
@@ -1,6 +1,6 @@
/*
* libmad - MPEG audio decoder library
- * Copyright (C) 2000-2001 Robert Leslie
+ * Copyright (C) 2000-2004 Underbit Technologies, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: global.h,v 1.3 2003/02/28 02:51:49 storri Exp $
+ * $Id: global.h,v 1.4 2004/04/22 00:22:36 miguelfreitas Exp $
*/
# ifndef LIBMAD_GLOBAL_H
@@ -39,7 +39,7 @@
# endif
# if defined(OPT_SPEED) && !defined(OPT_SSO)
-# define OPT_SSO 1
+# define OPT_SSO
# endif
# if defined(HAVE_UNISTD_H) && defined(HAVE_WAITPID) && \
@@ -47,4 +47,12 @@
# define USE_ASYNC
# endif
+# if !defined(HAVE_ASSERT_H)
+# if defined(NDEBUG)
+# define assert(x) /* nothing */
+# else
+# define assert(x) do { if (!(x)) abort(); } while (0)
+# endif
+# endif
+
# endif