Revision a77caa4d libavutil/common.h

View differences:

libavutil/common.h
58 58
#define UINT64_C(c)    (c ## ULL)
59 59
#endif
60 60

  
61
#if defined(__MINGW32__) && !defined(BUILD_AVUTIL) && defined(BUILD_SHARED_AV)
62
#  define FF_IMPORT_ATTR __declspec(dllimport)
63
#else
64
#  define FF_IMPORT_ATTR
65
#endif
66

  
67

  
68 61
#ifdef HAVE_AV_CONFIG_H
69 62
/* only include the following when compiling package */
70 63
#    include "internal.h"
......
83 76
#define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
84 77

  
85 78
/* misc math functions */
86
extern FF_IMPORT_ATTR const uint8_t ff_log2_tab[256];
79
extern const uint8_t ff_log2_tab[256];
87 80

  
88 81
static inline int av_log2(unsigned int v)
89 82
{

Also available in: Unified diff