OSDN Git Service

Add '#undef exit', the function is now forbidden.
authorDiego Biurrun <diego@biurrun.de>
Sun, 1 Apr 2007 11:40:36 +0000 (11:40 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 1 Apr 2007 11:40:36 +0000 (11:40 +0000)
Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/fft-test.c
libavcodec/motion_test.c

index e108a6f..d249738 100644 (file)
@@ -28,6 +28,8 @@
 #include <unistd.h>
 #include <sys/time.h>
 
+#undef exit
+
 int mm_flags;
 
 /* reference fft */
index 8540b74..ecdb62a 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "i386/mmx.h"
 
+#undef exit
 #undef printf
 
 int pix_abs16x16_mmx(uint8_t *blk1, uint8_t *blk2, int lx);