2011-07-27 04:27:12 +08:00
|
|
|
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
|
|
|
|
|
|
|
|
// This bit is taken from Sema/wchar.c so we can avoid the wchar.h include.
|
|
|
|
typedef __WCHAR_TYPE__ wchar_t;
|
|
|
|
#if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \
|
|
|
|
|| defined(_M_X64) || defined(SHORT_WCHAR)
|
|
|
|
#define WCHAR_T_TYPE unsigned short
|
2014-08-14 23:14:51 +08:00
|
|
|
#elif defined(__sun)
|
2011-07-27 04:27:12 +08:00
|
|
|
#define WCHAR_T_TYPE long
|
2014-08-14 23:14:51 +08:00
|
|
|
#else /* Solaris. */
|
2011-07-27 04:27:12 +08:00
|
|
|
#define WCHAR_T_TYPE int
|
|
|
|
#endif
|
|
|
|
|
2022-02-13 21:02:46 +08:00
|
|
|
signed short _iodbcdm_sqlerror(void)
|
2011-07-27 04:27:12 +08:00
|
|
|
{
|
|
|
|
wchar_t _sqlState[6] = { L"\0" };
|
|
|
|
}
|