资源简介
Dcmtk3.6.2
如果从头开始理解DICOM的协议,然后完全自己编写这些代码来实现这些协议,是一件工程浩大的事情。德国offis公司开发的DCMTK,为我们提供了实现DICOM协议的一个平台,使得我们可以在它的基础上轻松的完成自己的主要工作,而不必把太多的精力放在实现DICOM协议的细节问题上。
代码片段和文件信息
/*
* Copyright (C) 2017 OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg Germany
*
*
* Module: config
*
* Author: Jan Schlamelcher
*
* Purpose: Testing for large file support (LFS)
*/
#include
/* Check that off_t can represent 2**63 - 1 correctly. */
/* We can‘t simply define LARGE_OFF_T to be 9223372036854775807 */
/* since some C++ compilers masquerading as C compilers */
/* incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int main()
{
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1];
return 0;
}
评论
共有 条评论