summaryrefslogtreecommitdiffstats
path: root/tools/aidl/aidl_language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aidl/aidl_language.cpp')
-rw-r--r--tools/aidl/aidl_language.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/aidl/aidl_language.cpp b/tools/aidl/aidl_language.cpp
new file mode 100644
index 0000000..cd6a3bd
--- /dev/null
+++ b/tools/aidl/aidl_language.cpp
@@ -0,0 +1,20 @@
+#include "aidl_language.h"
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+
+#ifdef HAVE_MS_C_RUNTIME
+int isatty(int fd)
+{
+ return (fd == 0);
+}
+#endif
+
+#if 0
+ParserCallbacks k_parserCallbacks = {
+ NULL
+};
+#endif
+
+ParserCallbacks* g_callbacks = NULL; // &k_parserCallbacks;
+