]> Creatis software - gdcm.git/commitdiff
ENH: Rework the header file...I guess some people refuse to read my emails...
authormalaterre <malaterre>
Sun, 29 May 2005 22:09:32 +0000 (22:09 +0000)
committermalaterre <malaterre>
Sun, 29 May 2005 22:09:32 +0000 (22:09 +0000)
src/gdcmjasper/src/libjasper/include/jasper/jas_config.h.in

index cc6c70a340f99664406c6ee0d4996af14446359d..e393656556a7b6b72036704149b89ea426098862 100644 (file)
 
 
 #ifndef HAVE_SYS_TYPES_H
-#else
-typedef unsigned char      uchar;
 typedef unsigned short     ushort;
 typedef unsigned int       uint;
 typedef unsigned long      ulong;
-typedef long long          longlong;
-typedef unsigned long long ulonglong;
-/* #define  ssize_t    int */
-#endif
-
-/* Something I don't uderstand (neither Benoit does ...)
-   The previous 'ifndef' causes warning with gcc, like :
-   /usr/include/sys/types.h:152: warning: `ushort' previously declared here
-   Commenting it out and uncommenting the following causes syntax error ?!?
-*/  
-/*
-#if defined(_MSC_VER) || defined(__BORLANDC__)
+#else
 typedef unsigned char      uchar;
-typedef unsigned short     ushort;
-typedef unsigned int       uint;
-typedef unsigned long      ulong;
-typedef long long          longlong;
 typedef unsigned long long ulonglong;
-#define UINT32_MAX    (4294967295U)
+typedef long long          longlong;
+/* #define  ssize_t    int */
 #endif
-*/
 
 #endif