[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Freetype2 compilation error
From: |
HCL Infosystems Ltd |
Subject: |
Re: [ft] Freetype2 compilation error |
Date: |
Wed, 20 Mar 2013 14:50:56 +0530 (IST) |
#include <limits.h>
#if !(0xFFFFFFFFFFFFFFFF >> 64) && (0x10000000000000000 >> 64)
# define CPP_MAX_BITSHIFT 64
#elif !(0x7FFFFFFFFFFFFFFF >> 63) && (0xFFFFFFFFFFFFFFFF >> 63)
# define CPP_MAX_BITSHIFT 63
#elif !(0xFFFFFFFFFFFF >> 48) && (0x1000000000000 >> 48)
# define CPP_MAX_BITSHIFT 48
#elif !(0x7FFFFFFFFFFF >> 47) && (0xFFFFFFFFFFFF >> 47)
# define CPP_MAX_BITSHIFT 47
#elif !(0xFFFFFFFF >> 32) && (0x100000000 >> 32)
# define CPP_MAX_BITSHIFT 32
#elif !(0x7FFFFFFF >> 31) && (0xFFFFFFFF >> 31)
# define CPP_MAX_BITSHIFT 31
#elif !(0xFFFFFF >> 24) && (0x1000000 >> 24)
# define CPP_MAX_BITSHIFT 24
#elif !(0x7FFFFF >> 23) && (0xFFFFFF >> 23)
# define CPP_MAX_BITSHIFT 23
#elif !(0xFFFFFF >> 16) && (0x1000000 >> 16)
# define CPP_MAX_BITSHIFT 16
#elif !(0x7FFFFF >> 15) && (0xFFFFFF >> 15)
# define CPP_MAX_BITSHIFT 15
#else
# define CPP_MAX_BITSHIFT 0
#endif
The max bitshift by C preprocessor would be CPP_MAX_BITSHIFT
- Re: [ft] Freetype2 compilation error, (continued)
- Re: [ft] Freetype2 compilation error, HCL Infosystems Ltd, 2013/03/19
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/19
- Re: [ft] Freetype2 compilation error, HCL Infosystems Ltd, 2013/03/19
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/19
- Re: [ft] Freetype2 compilation error, HCL Infosystems Ltd, 2013/03/19
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/19
- Re: [ft] Freetype2 compilation error, HCL Infosystems Ltd, 2013/03/19
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/19
- Re: [ft] Freetype2 compilation error, HCL Infosystems Ltd, 2013/03/20
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/20
- Re: [ft] Freetype2 compilation error,
HCL Infosystems Ltd <=
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/20
- Re: [ft] Freetype2 compilation error, HCL Infosystems Ltd, 2013/03/20
- Re: [ft] Freetype2 compilation error, suzuki toshiya, 2013/03/20