Home | History | Annotate | Download | only in libjpeg-turbo
      1 /* jconfigint.h.  Customized for android on the basis of jconfigint.h.in. */
      2 
      3 #ifndef __JCONFIGINT_H__
      4 #define __JCONFIGINT_H__
      5 
      6 /* libjpeg-turbo build number */
      7 #define BUILD  ""
      8 
      9 /* Compiler's inline keyword */
     10 #undef inline
     11 
     12 /* How to obtain function inlining. */
     13 #ifndef INLINE
     14   #ifndef TURBO_FOR_WINDOWS
     15     #define INLINE inline __attribute__((always_inline))
     16   #else
     17     #if defined(__GNUC__)
     18       #define INLINE inline __attribute__((always_inline))
     19     #elif defined(_MSC_VER)
     20       #define INLINE __forceinline
     21     #else
     22       #define INLINE
     23     #endif
     24   #endif
     25 #endif
     26 
     27 /* Define to the full name of this package. */
     28 #define PACKAGE_NAME  "libjpeg-turbo"
     29 
     30 /* Version number of package */
     31 #define VERSION  "2.0.2"
     32 
     33 /* The size of `size_t', as computed by sizeof. */
     34 /* The size of `size_t', as reported by the compiler through the
     35  * builtin macro __SIZEOF_SIZE_T__. If the compiler does not
     36  * report __SIZEOF_SIZE_T__ add a custom rule for the compiler
     37  * here. */
     38 #ifdef __SIZEOF_SIZE_T__
     39   #define SIZEOF_SIZE_T __SIZEOF_SIZE_T__
     40 #else
     41   #error cannot determine the size of size_t
     42 #endif
     43 
     44 /* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
     45 #define HAVE_BUILTIN_CTZL
     46 
     47 /* Define to 1 if you have the <intrin.h> header file. */
     48 /* #undef HAVE_INTRIN_H */
     49 
     50 #if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
     51 #if (SIZEOF_SIZE_T == 8)
     52 #define HAVE_BITSCANFORWARD64
     53 #elif (SIZEOF_SIZE_T == 4)
     54 #define HAVE_BITSCANFORWARD
     55 #endif
     56 #endif
     57 
     58 #endif  // __JCONFIGINT_H__
     59