Commit fad8f429 authored by mru's avatar mru

move #include of system headers to top of file


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9646 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3d8b8814
...@@ -26,7 +26,13 @@ ...@@ -26,7 +26,13 @@
#ifndef INTERNAL_H #ifndef INTERNAL_H
#define INTERNAL_H #define INTERNAL_H
#if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
#endif
#include <stdint.h> #include <stdint.h>
#include <stddef.h>
#include <assert.h>
#ifndef attribute_used #ifndef attribute_used
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
...@@ -87,7 +93,6 @@ ...@@ -87,7 +93,6 @@
#include "intreadwrite.h" #include "intreadwrite.h"
#include "bswap.h" #include "bswap.h"
#include <stddef.h>
#ifndef offsetof #ifndef offsetof
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
#endif #endif
...@@ -117,11 +122,6 @@ ...@@ -117,11 +122,6 @@
/* debug stuff */ /* debug stuff */
#if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
#endif
#include <assert.h>
/* dprintf macros */ /* dprintf macros */
#ifdef DEBUG #ifdef DEBUG
# define dprintf(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__) # define dprintf(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment