make `extern "C"' into a macro, this make emacs much happier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9282 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -36,6 +36,14 @@
|
|||||||
#ifndef __ROKEN_COMMON_H__
|
#ifndef __ROKEN_COMMON_H__
|
||||||
#define __ROKEN_COMMON_H__
|
#define __ROKEN_COMMON_H__
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define ROKEN_CPP_START extern "C" {
|
||||||
|
#define ROKEN_CPP_END }
|
||||||
|
#else
|
||||||
|
#define ROKEN_CPP_START
|
||||||
|
#define ROKEN_CPP_END
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef INADDR_NONE
|
#ifndef INADDR_NONE
|
||||||
#define INADDR_NONE 0xffffffff
|
#define INADDR_NONE 0xffffffff
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user