summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/comm/xpcom_sms.idl11
-rw-r--r--dev/crt/exit.h2
2 files changed, 7 insertions, 6 deletions
diff --git a/dev/comm/xpcom_sms.idl b/dev/comm/xpcom_sms.idl
index d6e69a88..6c9e46fa 100644
--- a/dev/comm/xpcom_sms.idl
+++ b/dev/comm/xpcom_sms.idl
@@ -7,7 +7,7 @@ Purpose: SMS XPCOM interface
------------------------------------------- */
-#ifndef __NDK__
+#ifndef __TOOLCHAINKIT__
#define object class
#define protocol class
#define interface private
@@ -22,13 +22,12 @@ Purpose: SMS XPCOM interface
#define _Input
#define clsid(X)
-#warning ! You may be using the clang version of the NDK, please be cautious that some features mayn't be present. !
-#endif // !__NDK__
+#warning !! You may be using the clang version of the ToolchainKit, please be cautious that some features mayn't be present. !!
+#endif // ifndef __TOOLCHAINKIT__
-clsid("0943A614-0201-4107-8F8D-E909DF7F53C9")
-protocol ISMS
+interface("0943A614-0201-4107-8F8D-E909DF7F53C9") ISMS
{
-interface:
+interface_public:
interface_method INT32 SendMessage(_Input CONST CHAR* bytes, _Input SIZE_T bytes_size);
interface_method INT32 RecvMessage(_Output CONST CHAR** bytes_in, _Input SIZE_T bytes_size);
};
diff --git a/dev/crt/exit.h b/dev/crt/exit.h
index 69b046c4..9bf9928f 100644
--- a/dev/crt/exit.h
+++ b/dev/crt/exit.h
@@ -6,6 +6,8 @@
#pragma once
+#include <crt/defines.h>
+
extern "C" int exit(int code);
/// @brief Standard C++ namespace