Define nullptr for gcc < 4.6

develop
Anuradha Dissanayake 2013-02-02 02:22:06 +13:00
parent ecf255243f
commit dff16c3c1d
1 changed files with 5 additions and 1 deletions

@ -58,7 +58,11 @@ using df::global::world;
using df::global::enabler;
DFHACK_PLUGIN("buildingplan");
#define PLUGIN_VERSION 0.3
#define PLUGIN_VERSION 0.4
#ifndef HAVE_NULLPTR
#define nullptr 0L
#endif
struct MaterialDescriptor
{