1 //===- llvm/unittest/Support/DynamicLibrary/PipSqueak.h -------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_PIPSQUEAK_H
10 #define LLVM_PIPSQUEAK_H
12 #if defined(_WIN32) && !defined(__GNUC__)
13 // Disable warnings from inclusion of xlocale & exception
15 #pragma warning(disable: 4530)
16 #pragma warning(disable: 4577)
26 #define PIPSQUEAK_EXPORT __declspec(dllexport)
28 #define PIPSQUEAK_EXPORT
31 extern "C" PIPSQUEAK_EXPORT
const char *TestA();