summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 58e556860f..aa56c0578c 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -56,10 +56,6 @@ struct AVDictionary {
# define INT_BIT (CHAR_BIT * sizeof(int))
#endif
-#ifndef offsetof
-# define offsetof(T, F) ((unsigned int)((char *)&((T *)0)->F))
-#endif
-
/* debug stuff */
#define av_abort() do { av_log(NULL, AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0)