Fix #error messages for non-gcc compilers

DEVEL_2_0_BRANCH-1
Peter Fales 1994-10-12 01:14:49 +00:00
rodzic ef645deaf1
commit f888898b5e
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -212,14 +212,14 @@ struct cam_dirent
* in the following dir_buf structure - it has to match data read from
* the camera. gcc does this with __attribute__ ((packed))
*/
#error
# error "Please port to this compiler."
#endif
struct dir_buf
{
SANE_Byte entries_msb PACKED;
SANE_Byte entries_lsb PACKED;
struct cam_dirent entry[1000] __attribute__ ((packed));
struct cam_dirent entry[1000] PACKED;
};
struct cam_dirlist