android_frameworks_base/tools/aidl/aidl_language.cpp
Elliott Hughes e17788ceff Replace HAVE_MS_C_RUNTIME with _WIN32 in frameworks/base/tools.
Change-Id: Ideef62acbf53a442167c9b8038021affffef9e8a
2015-08-17 12:41:46 -07:00

21 lines
280 B
C++

#include "aidl_language.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifdef _WIN32
int isatty(int fd)
{
return (fd == 0);
}
#endif
#if 0
ParserCallbacks k_parserCallbacks = {
NULL
};
#endif
ParserCallbacks* g_callbacks = NULL; // &k_parserCallbacks;