]> Creatis software - gdcm.git/blob - src/gdcmCommon.h
ajout namespace std pour les string sous Windows
[gdcm.git] / src / gdcmCommon.h
1 //gdcmCommon.h
2
3 #ifndef GDCMCOMMON_H
4 #define GDCMCOMMON_H
5
6 #ifdef __GNUC__
7 #include <stdint.h>
8 #define guint16 uint16_t
9 #define guint32 uint32_t
10 #define gint16  int16_t
11 #define gint32  int32_t
12 #endif
13
14 #ifdef _MSC_VER 
15 typedef  unsigned short guint16;
16 typedef  unsigned int   guint32;
17 typedef  short          gint16;
18 typedef  int            gint32;
19 #endif
20
21 #ifdef _MSC_VER
22 #define GDCM_EXPORT __declspec( dllexport )
23 using namespace std;
24 #else
25 #define GDCM_EXPORT
26 #endif
27
28 #include <string>
29 typedef string TagKey;
30 typedef string TagName;
31
32 #endif