| kcutil.h | | kcutil.h | |
| | | | |
| skipping to change at line 86 | | skipping to change at line 86 | |
| /** The library version. */ | | /** The library version. */ | |
| extern const int32_t LIBVER; | | extern const int32_t LIBVER; | |
| | | | |
| /** The library revision. */ | | /** The library revision. */ | |
| extern const int32_t LIBREV; | | extern const int32_t LIBREV; | |
| | | | |
| /** The database format version. */ | | /** The database format version. */ | |
| extern const int32_t FMTVER; | | extern const int32_t FMTVER; | |
| | | | |
| /** The system name. */ | | /** The system name. */ | |
|
| extern const char* const SYSNAME; | | extern const char* const OSNAME; | |
| | | | |
| /** The flag for big endian environments. */ | | /** The flag for big endian environments. */ | |
| extern const bool BIGEND; | | extern const bool BIGEND; | |
| | | | |
| /** The clock tick of interruption. */ | | /** The clock tick of interruption. */ | |
| extern const int32_t CLOCKTICK; | | extern const int32_t CLOCKTICK; | |
| | | | |
| /** The size of a page. */ | | /** The size of a page. */ | |
|
| extern const int32_t PAGESIZE; | | extern const int32_t PAGESIZ; | |
| | | | |
| /** The extra feature list. */ | | /** The extra feature list. */ | |
| extern const char* const FEATURES; | | extern const char* const FEATURES; | |
| | | | |
| /** The buffer size for numeric data. */ | | /** The buffer size for numeric data. */ | |
| const size_t NUMBUFSIZ = 32; | | const size_t NUMBUFSIZ = 32; | |
| | | | |
| /** The maximum memory size for debugging. */ | | /** The maximum memory size for debugging. */ | |
| const size_t MEMMAXSIZ = INT32MAX / 2; | | const size_t MEMMAXSIZ = INT32MAX / 2; | |
| | | | |
| | | | |
| skipping to change at line 2139 | | skipping to change at line 2139 | |
| /** | | /** | |
| * Dummy test driver. | | * Dummy test driver. | |
| */ | | */ | |
| inline bool _dummytest() { | | inline bool _dummytest() { | |
| _assert_(true); | | _assert_(true); | |
| std::ostringstream oss; | | std::ostringstream oss; | |
| oss << INT8MAX << INT16MAX << INT32MAX << INT64MAX; | | oss << INT8MAX << INT16MAX << INT32MAX << INT64MAX; | |
| oss << INT8MIN << INT16MIN << INT32MIN << INT64MIN; | | oss << INT8MIN << INT16MIN << INT32MIN << INT64MIN; | |
| oss << UINT8MAX << UINT16MAX << UINT32MAX << UINT64MAX; | | oss << UINT8MAX << UINT16MAX << UINT32MAX << UINT64MAX; | |
| oss << SIZEMAX << FLTMAX << DBLMAX; | | oss << SIZEMAX << FLTMAX << DBLMAX; | |
|
| oss << VERSION << LIBVER << LIBREV << FMTVER << SYSNAME; | | oss << VERSION << LIBVER << LIBREV << FMTVER << OSNAME; | |
| oss << BIGEND << CLOCKTICK << PAGESIZE << FEATURES; | | oss << BIGEND << CLOCKTICK << PAGESIZ << FEATURES; | |
| oss << NUMBUFSIZ << MEMMAXSIZ; | | oss << NUMBUFSIZ << MEMMAXSIZ; | |
| return oss.tellp() > 0; | | return oss.tellp() > 0; | |
| } | | } | |
| | | | |
| } // common namespace | | } // common namespace | |
| | | | |
| #endif // duplication check | | #endif // duplication check | |
| | | | |
| // END OF FILE | | // END OF FILE | |
| | | | |
End of changes. 3 change blocks. |
| 4 lines changed or deleted | | 4 lines changed or added | |
|