fde2fe1c1c
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96
30 lines
363 B
C
30 lines
363 B
C
#ifndef _SYS_CDEFS_H
|
|
#define _SYS_CDEFS_H
|
|
|
|
|
|
#ifndef __P
|
|
#define __P(s) s
|
|
#endif
|
|
|
|
#ifndef __CONCAT
|
|
#define __CONCAT(x,y) x ## y
|
|
#endif
|
|
|
|
#ifndef __STRING
|
|
#define __STRING(x) #x
|
|
#endif
|
|
|
|
#if defined(__cplusplus)
|
|
#define __BEGIN_DECLS extern "C" {
|
|
#define __END_DECLS };
|
|
#else
|
|
#define __BEGIN_DECLS
|
|
#define __END_DECLS
|
|
#endif
|
|
|
|
#define __dead
|
|
#define __dead2
|
|
|
|
|
|
#endif
|