[Asterisk-cvs] asterisk/include/solaris-compat compat.h,NONE,1.1
markster at lists.digium.com
markster at lists.digium.com
Tue Dec 14 18:39:44 CST 2004
- Previous message: [Asterisk-cvs] asterisk/include/asterisk channel.h, 1.62,
1.63 frame.h, 1.37, 1.38 lock.h, 1.27, 1.28
- Next message: [Asterisk-cvs] asterisk/include/solaris-compat/sys cdefs.h, NONE,
1.1 queue.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/include/solaris-compat
In directory mongoose.digium.com:/tmp/cvs-serv25047/include/solaris-compat
Added Files:
compat.h
Log Message:
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
--- NEW FILE: compat.h ---
#ifndef _SOLARIS_COMPAT_H
#define _SOLARIS_COMPAT_H
#define __BEGIN_DECLS
#define __END_DECLS
#ifndef __P
#define __P(p) p
#endif
#define LITTLE_ENDIAN 1234
#define BIG_ENDIAN 4321
#define __LITTLE_ENDIAN 1234
#define __BIG_ENDIAN 4321
#ifdef __sparc__
#define BYTE_ORDER BIG_ENDIAN
#define __BYTE_ORDER BIG_ENDIAN
#else
#define BYTE_ORDER LITTLE_ENDIAN
#define ____BYTE_ORDER BIG_ENDIAN
#endif
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned int u_int32_t;
#endif
int setenv(const char *name, const char *value, int overwrite);
#endif
- Previous message: [Asterisk-cvs] asterisk/include/asterisk channel.h, 1.62,
1.63 frame.h, 1.37, 1.38 lock.h, 1.27, 1.28
- Next message: [Asterisk-cvs] asterisk/include/solaris-compat/sys cdefs.h, NONE,
1.1 queue.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list