| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/libspl/include/spl_typedefs.h
Go to the documentation of this file.

    00001
    00028 //---------------------------------------------------------------------------------------------------------------------------
    00033 //---------------------------------------------------------------------------------------------------------------------------
    00034
    00035 #ifndef               __SPL_TYPEDEFS_H__
    00036 #define               __SPL_TYPEDEFS_H__
    00037
    00038 #ifndef               __SPL_PLATFORM_H__
    00039 #include   "spl_platform.h"
    00040 #endif
    00041
    00042 //
    00043 // NULL DEFINE
    00044 //
    00045
    00046 #ifdef                NULL
    00047            #undef     NULL
    00048 #endif
    00049
    00050 #if SPL_PLATFORM == SPL_PLATFORM_WIN32
    00051
    00052            #define    NULL                             0L
    00053
    00054 #else
    00055
    00056            #define NULL                                0L
    00057
    00058 #endif     //         SPL_PLATFORM
    00059
    00060 //
    00061 // DEFINE 64-BIT DATATYPE
    00062 //
    00063 #define                          SPL_BITTYPE_32                   long
    00064
    00065 #if SPL_COMPILER == SPL_COMPILER_VCPLUSPLUS  || SPL_COMPILER == SPL_COMPILER_BCPLUSPLUS
    00066
    00067            #define               SPL_BITTYPE_64                   __int64
    00068
    00069 #else
    00070
    00071            #define               SPL_BITTYPE_64                   long long
    00072
    00073 #endif     // SPL_COMPILER
    00074
    00075 //
    00076 // TODO: ADD YOUR BITTYPE BELOW THIS COMMENT.
    00077 //                     EXAMPLES:
    00078 //
    00079 //                     #define SPL_BITTYPE             SPL_BITTYPE_32                   ---> for 32 bit platforms.
    00080 //                     #define SPL_BITTYPE             SPL_BITTYPE_64                   ---> for 64 bit platforms.
    00081 //
    00082
    00083 // TODO: INSERT YOUR BITTYPE HERE!
    00084 #define SPL_BITTYPE              SPL_BITTYPE_32
    00085
    00086 //
    00087 // BIT TYPE CHECKING, DO NOT REMOVE!
    00088 //
    00089 #ifndef                          SPL_BITTYPE
    00090            #error                "Bit type NOT specified yet, please edit spl_typedefs.h line 84 to compile!"
    00091 #endif
    00092
    00093 #endif     //         __SPL_TYPEDEFS_H__
    00094

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines