allg5/c_windows_static_workaround.go

18 lines
325 B
Go
Raw Normal View History

// +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"