
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
46 lines
1.5 KiB
C
46 lines
1.5 KiB
C
/*===-- 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
|