allg5/c_windows_static_workaround.go
2020-05-23 11:58:48 +02:00

18 lines
325 B
Go

// +build windows,static,mingw64_7_3
package allg5
/*
#define _CRTBLD
#include <stdio.h>
FILE *__cdecl __acrt_iob_func(unsigned index)
{
return &(__iob_func()[index]);
}
typedef FILE *__cdecl (*_f__acrt_iob_func)(unsigned index);
_f__acrt_iob_func __MINGW_IMP_SYMBOL(__acrt_iob_func) = __acrt_iob_func;
*/
import "C"