Renamed ARDUINO_JSON_NO_DEPRECATED_WARNING into ARDUINO_JSON_NO_DEPRECATION_WARNING

This commit is contained in:
Benoit Blanchon
2014-07-22 20:33:17 +02:00
parent 649f292ea7
commit abef85218e
8 changed files with 105 additions and 104 deletions

View File

@ -97,6 +97,6 @@ namespace ArduinoJson
};
// Obsolete: Use JsonObject instead
typedef JsonObject JsonHashTable;
DEPRECATED typedef JsonObject JsonHashTable;
}
}

View File

@ -7,7 +7,7 @@
#include "JsonToken.h"
#ifndef ARDUINO_JSON_NO_DEPRECATED_WARNING
#ifndef ARDUINO_JSON_NO_DEPRECATION_WARNING
#ifdef __GNUC__
#define DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)