mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
cppcheck: avoid undef macro warning
This commit is contained in:
@@ -1731,7 +1731,11 @@ void pm3_version(bool verbose, bool oneliner) {
|
||||
#else
|
||||
PrintAndLogEx(NORMAL, " Native BT support......... " _YELLOW_("absent"));
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
#ifndef PY_VERSION
|
||||
#define PY_VERSION "unknown version"
|
||||
#endif
|
||||
PrintAndLogEx(NORMAL, " Python script support..... " _GREEN_("present") " ( " _YELLOW_(PY_VERSION) " )");
|
||||
#else
|
||||
PrintAndLogEx(NORMAL, " Python script support..... " _YELLOW_("absent"));
|
||||
|
||||
Reference in New Issue
Block a user