changeset 74:a298a8eae4f2 libavutil

simplify
author mru
date Fri, 14 Jul 2006 00:25:58 +0000
parents 9718c0d015cc
children 09ed77540442
files common.h
diffstat 1 files changed, 6 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Fri Jul 14 00:20:04 2006 +0000
+++ b/common.h	Fri Jul 14 00:25:58 2006 +0000
@@ -172,14 +172,14 @@
 #    endif
 #endif
 
-#ifdef __MINGW32__
-
-/* windows */
+#ifndef int64_t_C
+#define int64_t_C(c)     (c ## LL)
+#define uint64_t_C(c)    (c ## ULL)
+#endif
 
-#    define int64_t_C(c)     (c ## LL)
-#    define uint64_t_C(c)    (c ## ULL)
+#ifdef HAVE_AV_CONFIG_H
 
-#    ifdef HAVE_AV_CONFIG_H
+#ifdef __MINGW32__
 #        ifdef _DEBUG
 #            define DEBUG
 #        endif
@@ -191,25 +191,14 @@
 #            define perror(a)
 #        endif
 
-#    endif
-
 /* __MINGW32__ end */
 #elif defined (CONFIG_OS2)
 /* OS/2 EMX */
 
-#ifdef HAVE_AV_CONFIG_H
-
 #include <float.h>
 
-#endif /* HAVE_AV_CONFIG_H */
 #endif /* !__MINGW32__ && CONFIG_OS2 */
 
-#ifndef int64_t_C
-#define int64_t_C(c)     (c ## LL)
-#define uint64_t_C(c)    (c ## ULL)
-#endif
-
-#ifdef HAVE_AV_CONFIG_H
 #    ifdef USE_FASTMEMCPY
 #        include "fastmemcpy.h"
 #    endif