update PACKED

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@656 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-02-22 23:07:23 +00:00
parent f36292af04
commit 26d698de34
1 changed files with 2 additions and 2 deletions

View File

@ -75,11 +75,11 @@ typedef __int32 int32_t;
typedef __int64 int64_t;
typedef unsigned long in_addr_t;
#endif
#define PACKED
#else
/* packed attribute */
#ifndef PACKED
#define PACKED __attribute__ ((packed))
#define PACKED __attribute__ ((__packed__))
#endif
#include <sys/types.h>
#ifndef getpid