compile fixes
[lttv.git] / ltt / branches / poly / ltt / ltt-private.h
index 03da264e64cd64e97ccbf21ca7c893972b816ce7..7327ca79291d861a291ce8b509c35b8238d885d7 100644 (file)
 #define max(a,b) ((a)>(b)?(a):(b))
 #endif
 
+#ifndef min
+#define min(a,b) ((a)<(b)?(a):(b))
+#endif
+
+
 
 #define LTT_MAGIC_NUMBER 0x00D6B7ED
 #define LTT_REV_MAGIC_NUMBER 0xEDB7D600
@@ -218,7 +223,7 @@ struct _LttType{
   gchar * fmt;
   guint size;
   LttTypeEnum type_class;          //which type
-  GData *enum_map;                 //maps enum labels to numbers.
+  GHashTable *enum_map;                 //maps enum labels to numbers.
   GArray *fields;     // Array of LttFields, for array, sequence, union, struct.
   GData *fields_by_name;
 };
This page took 0.021997 seconds and 4 git commands to generate.