diff common.h @ 517:389e30fe7269 libavcodec

* Move "restrict" fallback to common.h * Don't include config.h in dsputil.c
author mellum
date Thu, 04 Jul 2002 13:41:27 +0000
parents ba67fefada47
children 19a5e2a81e1a
line wrap: on
line diff
--- a/common.h	Thu Jul 04 01:47:32 2002 +0000
+++ b/common.h	Thu Jul 04 13:41:27 2002 +0000
@@ -35,6 +35,11 @@
 
 #endif /* HAVE_AV_CONFIG_H */
 
+/* Suppress restrict if it was not defined in config.h.  */
+#ifndef restrict
+#define restrict
+#endif
+
 #ifdef CONFIG_WIN32
 
 /* windows */