src/libzogminer/cl_zogminer.cpp
static void addDefinition(string& _source, char const* _id, unsigned _value)
{
	char buf[256];
	sprintf(buf, "#define %s %uu\n", _id, _value);
	_source.insert(_source.begin(), buf, buf + strlen(buf));
}
// Inject definitions into the kernal source
Inject definitions into the kernal source
Inject definitions into the kernal source
static void addDefinition(string& _source, char const* _id, unsigned _value)
{
	char buf[256];
	sprintf(buf, "#define %s %uu\n", _id, _value);
	_source.insert(_source.begin(), buf, buf + strlen(buf));
}
static void addDefinition ( string & _source , char const * _id , unsigned _value ) { char buf [ 256 ] ; sprintf ( buf , " \n " , _id , _value ) ; _source . insert ( _source . begin ( ) , buf , buf + strlen ( buf ) ) ; }
Inject definitions into the kernal source
Inject definitions into the kernal source