From 28186473100234e4129b69c50b1fb6bb669f2e3d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 1 Apr 2007 11:40:36 +0000 Subject: [PATCH] Add '#undef exit', the function is now forbidden. Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/fft-test.c | 2 ++ libavcodec/motion_test.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index e108a6f7ba..d2497383d5 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -28,6 +28,8 @@ #include #include +#undef exit + int mm_flags; /* reference fft */ diff --git a/libavcodec/motion_test.c b/libavcodec/motion_test.c index 8540b74834..ecdb62a4e1 100644 --- a/libavcodec/motion_test.c +++ b/libavcodec/motion_test.c @@ -33,6 +33,7 @@ #include "i386/mmx.h" +#undef exit #undef printf int pix_abs16x16_mmx(uint8_t *blk1, uint8_t *blk2, int lx);