Blame toonz/sources/include/tmachine.h
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef T_MACHINE_INCLUDED
|
|
Toshihiro Shimizu |
890ddd |
#define T_MACHINE_INCLUDED
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#if defined(WIN32) || defined(i386)
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_LITTLE_ENDIAN 1
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_MACHINE_CHANNEL_ORDER_BGRM 1
|
|
Toshihiro Shimizu |
890ddd |
#elif defined(__sgi)
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_LITTLE_ENDIAN 0
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_MACHINE_CHANNEL_ORDER_MBGR 1
|
|
Toshihiro Shimizu |
890ddd |
#elif defined(LINUX)
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_LITTLE_ENDIAN 1
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_MACHINE_CHANNEL_ORDER_RGBM 1
|
|
Toshihiro Shimizu |
890ddd |
#elif defined(MACOSX)
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_LITTLE_ENDIAN 0
|
|
Toshihiro Shimizu |
890ddd |
#define TNZ_MACHINE_CHANNEL_ORDER_MRGB 1
|
|
Toshihiro Shimizu |
890ddd |
#else
|
|
Toshihiro Shimizu |
890ddd |
@UNKNOW PLATFORM @
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef WIN32
|
|
Toshihiro Shimizu |
890ddd |
#ifdef MACOSX
|
|
Toshihiro Shimizu |
890ddd |
#define _finite isfinite
|
|
Toshihiro Shimizu |
890ddd |
#else
|
|
Toshihiro Shimizu |
890ddd |
// verificare che su sgi sia isfinite
|
|
Toshihiro Shimizu |
890ddd |
#define _finite isfinite
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|