kernel_cpp.h can now safely be included from C code, great, isn't it?

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-03-10 00:44:39 +00:00
parent 2f6684aaee
commit 03d14a728a
+5 -3
View File
@@ -1,11 +1,12 @@
#ifndef CPP_H
#define CPP_H
#ifndef KERNEL_CPP_H
#define KERNEL_CPP_H
/* cpp - C++ in the kernel
**
** Initial version by Axel Dörfler, [email protected]
** This file may be used under the terms of the OpenBeOS License.
*/
#ifdef __cplusplus
#include <new>
#include <stdlib.h>
@@ -74,5 +75,6 @@ operator delete[](void *ptr) throw ()
extern "C" void __pure_virtual();
#endif // #if _KERNEL_MODE
#endif // __cplusplus
#endif /* CPP_H */
#endif /* KERNEL_CPP_H */