IF(UNIX) #Avoid polluting Win32 cmakecache
CHECK_INCLUDE_FILE("inttypes.h" CMAKE_HAVE_INTTYPES_H)
ENDIF(UNIX)
+# Special JPR, don't know what he is doing...
+CHECK_INCLUDE_FILE("sys/times.h" CMAKE_HAVE_SYS_TIMES_H)
# Check if header file exists and add it to the list.
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFiles.cmake)
Program: gdcm
Module: $RCSfile: TestInline.cxx,v $
Language: C++
- Date: $Date: 2005/10/23 14:49:51 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2005/10/24 01:16:20 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <iostream>
#include <time.h>
+#ifdef CMAKE_HAVE_SYS_TIMES_H
#include <sys/times.h>
+#endif
void frswap (double &a, double &b);
void fpswap (double *a, double *b);
Program: gdcm
Module: $RCSfile: gdcmConfigure.h.in,v $
Language: C++
- Date: $Date: 2005/10/23 19:46:18 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2005/10/24 01:16:19 $
+ Version: $Revision: 1.20 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#define GDCM_SIZEOF_LONG @GDCM_SIZEOF_LONG@
+/* Special JPR */
+#cmakedefine CMAKE_HAVE_SYS_TIMES_H
/* GetMacAddress require a lot of include file to access low level API */
#cmakedefine CMAKE_HAVE_UNISTD_H