diff options
Diffstat (limited to 'include/clang-c/Platform.h')
-rw-r--r-- | include/clang-c/Platform.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/include/clang-c/Platform.h b/include/clang-c/Platform.h deleted file mode 100644 index e2a4dcc..0000000 --- a/include/clang-c/Platform.h +++ /dev/null @@ -1,45 +0,0 @@ -/*===-- clang-c/Platform.h - C Index platform decls -------------*- C -*-===*\ -|* *| -|* The LLVM Compiler Infrastructure *| -|* *| -|* This file is distributed under the University of Illinois Open Source *| -|* License. See LICENSE.TXT for details. *| -|* *| -|*===----------------------------------------------------------------------===*| -|* *| -|* This header provides platform specific macros (dllimport, deprecated, ...) *| -|* *| -\*===----------------------------------------------------------------------===*/ - -#ifndef LLVM_CLANG_C_PLATFORM_H -#define LLVM_CLANG_C_PLATFORM_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* MSVC DLL import/export. */ -#ifdef _MSC_VER - #ifdef _CINDEX_LIB_ - #define CINDEX_LINKAGE __declspec(dllexport) - #else - #define CINDEX_LINKAGE __declspec(dllimport) - #endif -#else - #define CINDEX_LINKAGE -#endif - -#ifdef __GNUC__ - #define CINDEX_DEPRECATED __attribute__((deprecated)) -#else - #ifdef _MSC_VER - #define CINDEX_DEPRECATED __declspec(deprecated) - #else - #define CINDEX_DEPRECATED - #endif -#endif - -#ifdef __cplusplus -} -#endif -#endif |