win32 compile fix (#warning)

This commit is contained in:
Eric Frias 2015-10-13 09:13:16 -04:00
parent 7cb4140b97
commit 03306860d2

View file

@ -493,7 +493,11 @@ void database::init_genesis(const genesis_state_type& genesis_state)
a.options.description = asset.description;
a.precision = asset.precision;
string issuer_name = asset.issuer_name;
#warning Remove this check doing real network, change BitAsset owners to be committee-account in genesis.
#ifdef _MSC_VER
# pragma message ("WARNING: Remove this check doing real network, change BitAsset owners to be committee-account in genesis.")
#else
# warning Remove this check doing real network, change BitAsset owners to be committee-account in genesis.
#endif
if( issuer_name == "witness-account" )
issuer_name = "committee-account";
a.issuer = get_account_id(issuer_name);