merge
authorMario de Sousa <msousa@fe.up.pt>
Thu, 22 Nov 2012 19:05:29 +0000
changeset 742 a9741eb5aaab
parent 739 438cb1078886 (current diff)
parent 741 cdce312be3c4 (diff)
child 744 6ecb38715724
merge
lib/iec_types.h
--- a/lib/iec_types.h	Thu Nov 22 19:02:05 2012 +0000
+++ b/lib/iec_types.h	Thu Nov 22 19:05:29 2012 +0000
@@ -32,7 +32,7 @@
 typedef struct {
     long int tv_sec;            /* Seconds.  */
     long int tv_nsec;           /* Nanoseconds.  */
-}__attribute__((packed)) IEC_TIMESPEC;
+} /* __attribute__((packed)) */ IEC_TIMESPEC;  /* packed is gcc specific! */
 
 typedef IEC_TIMESPEC IEC_TIME;
 typedef IEC_TIMESPEC IEC_DATE;
@@ -51,6 +51,6 @@
 typedef struct {
     __strlen_t len;
     uint8_t body[STR_MAX_LEN];
-} __attribute__((packed)) IEC_STRING;
+} /* __attribute__((packed)) */ IEC_STRING;  /* packed is gcc specific! */
 
 #endif /*IEC_TYPES_H*/