Files
Lee Cantey ab4d0130ed Tests/BundleUtilities: Fix test with Clang-based MinGW toolchains
The test sources check WIN32, which not every Windows toolchain defines:
bcc64x defaults to a strict standard mode and does not.  Check _WIN32.

The test scripts use GetPrerequisites, which looks for objdump on the
PATH when dumpbin is not found and CMAKE_OBJDUMP is not set.  The objdump
in llvm-mingw is a shell script, and bcc64x provides only llvm-objdump.
Pass the project's CMAKE_OBJDUMP to the scripts.
2026-10-28 14:58:31 -04:00

18 lines
270 B
C

#ifndef shared2_h
#define shared2_h
#ifdef _WIN32
# ifdef shared2_EXPORTS
# define SHARED2_EXPORT __declspec(dllexport)
# else
# define SHARED2_EXPORT __declspec(dllimport)
# endif
#else
# define SHARED2_EXPORT
#endif
void SHARED2_EXPORT shared2();
#endif