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:
Johan Danielsson
2000-12-06 20:20:23 +00:00
parent 1bef95fb3f
commit 97ac6c2c6b

View File

@@ -36,6 +36,14 @@
#ifndef __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
#define INADDR_NONE 0xffffffff
#endif