global.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- /*
- * 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