blob: b44c61d64dfe47faf26200109da923e880a69541 [file] [log] [blame]
Frederich Munchc1db8cf2017-04-27 16:55:24 +00001//===- llvm/unittest/Support/DynamicLibrary/PipSqueak.h -------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_PIPSQUEAK_H
11#define LLVM_PIPSQUEAK_H
12
Frederich Munchad125802017-06-05 16:26:58 +000013#if defined(_WIN32) && !defined(__GNUC__)
14// Disable warnings from inclusion of xlocale & exception
15#pragma warning(push)
16#pragma warning(disable: 4530)
17#pragma warning(disable: 4577)
18#include <string>
19#include <vector>
20#pragma warning(pop)
21#else
22#include <string>
23#include <vector>
24#endif
25
Frederich Munchc1db8cf2017-04-27 16:55:24 +000026#ifdef _WIN32
27#define PIPSQUEAK_EXPORT __declspec(dllexport)
28#else
29#define PIPSQUEAK_EXPORT
30#endif
31
Roger Ferrer Ibanez2cd536c2017-06-12 07:22:15 +000032extern "C" PIPSQUEAK_EXPORT const char *TestA();
33
Frederich Munchc1db8cf2017-04-27 16:55:24 +000034#endif