mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-2954: attr packed is not available on sun studio
This commit is contained in:
@@ -112,6 +112,9 @@ typedef int gid_t;
|
||||
|
||||
#else
|
||||
/* packed attribute */
|
||||
#if (defined __SUNPRO_CC) || defined(__SUNPRO_C)
|
||||
#define PACKED
|
||||
#endif
|
||||
#ifndef PACKED
|
||||
#define PACKED __attribute__ ((__packed__))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user