Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-cygwin/testdll.c
2023-03-06 14:48:14 +01:00

14 lines
205 B
C

extern void exewrite (void);
__attribute((dllimport)) int global_a;
void
dllwrite (void)
{
global_a = 3;
exewrite ();
}
int _stdcall testdll_main(int p1, unsigned long p2, void* p3)
{
return 1;
}