global.h
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:1k
- /*
- * libmad - MPEG audio decoder library
-
- */
- # ifndef LIBMAD_GLOBAL_H
- # define LIBMAD_GLOBAL_H
- # if defined(DEBUG) && defined(NDEBUG)
- # error "cannot define both DEBUG and NDEBUG"
- # endif
- # if defined(DEBUG)
- # include <stdio.h>
- # endif
- # if defined(OPT_SPEED) && defined(OPT_ACCURACY)
- # error "cannot optimize for both speed and accuracy"
- # endif
- # if defined(OPT_SPEED) && !defined(OPT_SSO)
- # define OPT_SSO 1
- # endif
- # if defined(HAVE_UNISTD_H) && defined(HAVE_WAITPID) &&
- defined(HAVE_FCNTL) && defined(HAVE_PIPE) && defined(HAVE_FORK)
- # 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