require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&MJ_H_)) {
    eval 'sub MJ_H_ () {20110607;}' unless defined(&MJ_H_);
    eval("sub MJ_NULL () { 1; }") unless defined(&MJ_NULL);
    eval("sub MJ_FALSE () { 2; }") unless defined(&MJ_FALSE);
    eval("sub MJ_TRUE () { 3; }") unless defined(&MJ_TRUE);
    eval("sub MJ_NUMBER () { 4; }") unless defined(&MJ_NUMBER);
    eval("sub MJ_STRING () { 5; }") unless defined(&MJ_STRING);
    eval("sub MJ_ARRAY () { 6; }") unless defined(&MJ_ARRAY);
    eval("sub MJ_OBJECT () { 7; }") unless defined(&MJ_OBJECT);
    eval("sub MJ_LAST () { MJ_OBJECT; }") unless defined(&MJ_LAST);
    eval("sub MJ_HUMAN () { 0; }") unless defined(&MJ_HUMAN);
    eval("sub MJ_JSON_ENCODE () { 1; }") unless defined(&MJ_JSON_ENCODE);
}
1;
