mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-15 03:02:22 -06:00
Revert the main logic change of commit v3.9.0-rc1~192^2 (bindexplib: fix constants symbols export, 2017-04-26) and its test case. Unfortunately some constants may be provided by multiple object files with different `@...` suffixes, leading to ambiguous references. Revert support pending further investigation. Fixes: #17045
16 lines
127 B
C
16 lines
127 B
C
#ifdef _MSC_VER
|
|
#include "windows.h"
|
|
#else
|
|
#define WINAPI
|
|
#endif
|
|
|
|
int WINAPI foo()
|
|
{
|
|
return 10;
|
|
}
|
|
|
|
int bar()
|
|
{
|
|
return 5;
|
|
}
|