21 lines
219 B
C
Raw Normal View History

2020-08-30 11:54:41 +02:00
2021-09-14 00:13:48 +02:00
#if defined(C_USE_CXX)
void func_c_cxx();
#else
# if defined(_WIN32)
2020-08-30 11:54:41 +02:00
__declspec(dllimport)
2021-09-14 00:13:48 +02:00
# endif
2020-08-30 11:54:41 +02:00
void func_c();
2021-09-14 00:13:48 +02:00
#endif
2020-08-30 11:54:41 +02:00
int main()
{
2021-09-14 00:13:48 +02:00
#if defined(C_USE_CXX)
func_c_cxx();
#else
2020-08-30 11:54:41 +02:00
func_c();
2021-09-14 00:13:48 +02:00
#endif
2020-08-30 11:54:41 +02:00
return 0;
}