diff options
author | Måns Rullgård <mans@mansr.com> | 2006-12-07 22:27:00 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-12-07 22:27:00 +0300 |
commit | a77caa4dc92d1865a823574a09de789ad553423b (patch) | |
tree | 322ca6c6ad3274e408615b205915a2d5908a6f4b /libavutil/common.h | |
parent | da34f7ac236ccf5d25aafac249e3d6dc934bde4c (diff) |
fix mingw shared build, and get rid of FF_IMPORT_ATTR
Originally committed as revision 7253 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r-- | libavutil/common.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 65573f0998..77b1c3f1fa 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -58,13 +58,6 @@ #define UINT64_C(c) (c ## ULL) #endif -#if defined(__MINGW32__) && !defined(BUILD_AVUTIL) && defined(BUILD_SHARED_AV) -# define FF_IMPORT_ATTR __declspec(dllimport) -#else -# define FF_IMPORT_ATTR -#endif - - #ifdef HAVE_AV_CONFIG_H /* only include the following when compiling package */ # include "internal.h" @@ -83,7 +76,7 @@ #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) /* misc math functions */ -extern FF_IMPORT_ATTR const uint8_t ff_log2_tab[256]; +extern const uint8_t ff_log2_tab[256]; static inline int av_log2(unsigned int v) { |