Revision 320d060a libavutil/common.h

View differences:

libavutil/common.h
247 247

  
248 248
#ifdef HAVE_AV_CONFIG_H
249 249

  
250
#if defined(__MINGW32__) && !defined(BUILD_AVUTIL) && defined(BUILD_SHARED_AV)
251
#  define FF_IMPORT_ATTR __declspec(dllimport)
252
#else
253
#  define FF_IMPORT_ATTR
254
#endif
255

  
256

  
250 257
#    include "bswap.h"
251 258

  
252 259
// Use rip-relative addressing if compiling PIC code on x86-64.
......
345 352
#endif
346 353

  
347 354
/* misc math functions */
348
extern const uint8_t ff_log2_tab[256];
355
extern FF_IMPORT_ATTR const uint8_t ff_log2_tab[256];
349 356

  
350 357
static inline int av_log2(unsigned int v)
351 358
{
......
423 430
}
424 431

  
425 432
/* math */
426
extern const uint8_t ff_sqrt_tab[128];
433
extern FF_IMPORT_ATTR const uint8_t ff_sqrt_tab[128];
427 434

  
428 435
int64_t ff_gcd(int64_t a, int64_t b);
429 436

  

Also available in: Unified diff