This commit is contained in:
Dante
2026-05-22 11:54:15 -07:00
parent 05f197c291
commit b47ea35fe4
935 changed files with 1016163 additions and 1 deletions

View File

@ -0,0 +1,24 @@
package hxcpp;
#if (hxcpp_api_level>=330)
class StaticMysql { }
#else
@:cppFileCode( 'extern "C" int mysql_register_prims();')
@:buildXml("
<target id='haxe'>
<lib name='${HXCPP}/lib/${BINDIR}/libmysql5${LIBEXTRA}${LIBEXT}'/>
<lib name='ws2_32.lib' if='windows'/>
</target>
")
@:keep class StaticMysql
{
static function __init__()
{
untyped __cpp__("mysql_register_prims();");
}
}
#end