Repository: cordova-osx Updated Branches: refs/heads/master ea9a45b86 -> 59b56cb7b
trivial: fix availability macros Project: http://git-wip-us.apache.org/repos/asf/cordova-osx/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-osx/commit/59b56cb7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-osx/tree/59b56cb7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-osx/diff/59b56cb7 Branch: refs/heads/master Commit: 59b56cb7b4ff0896d3e7967f0e496e3453931ac9 Parents: ea9a45b Author: Tobias Bocanegra <[email protected]> Authored: Wed Nov 25 17:30:53 2015 -0800 Committer: Tobias Bocanegra <[email protected]> Committed: Wed Nov 25 17:30:53 2015 -0800 ---------------------------------------------------------------------- .../CordovaLib/Classes/Commands/CDVAvailability.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/59b56cb7/CordovaLib/CordovaLib/Classes/Commands/CDVAvailability.h ---------------------------------------------------------------------- diff --git a/CordovaLib/CordovaLib/Classes/Commands/CDVAvailability.h b/CordovaLib/CordovaLib/Classes/Commands/CDVAvailability.h index fb16806..a12302d 100644 --- a/CordovaLib/CordovaLib/Classes/Commands/CDVAvailability.h +++ b/CordovaLib/CordovaLib/Classes/Commands/CDVAvailability.h @@ -19,22 +19,18 @@ #define __CORDOVA_OSX__ -#define __CORDOVA_2_6_0 20600 -#define __CORDOVA_2_7_0 20700 -#define __CORDOVA_2_8_0 20800 -#define __CORDOVA_2_9_0 20900 -#define __CORDOVA_3_0_0 30000 +#define __CORDOVA_4_0_0 40000 #define __CORDOVA_NA 99999 /* not available */ /* - #if CORDOVA_VERSION_MIN_REQUIRED >= __CORDOVA_1_7_0 - // do something when its at least 1.7.0 + #if CORDOVA_VERSION_MIN_REQUIRED >= __CORDOVA_4_0_0 + // do something when its at least 4.0.0 #else - // do something else (non 1.7.0) + // do something else (non 4.0.0) #endif */ #ifndef CORDOVA_VERSION_MIN_REQUIRED - #define CORDOVA_VERSION_MIN_REQUIRED __CORDOVA_3_0_0 + #define CORDOVA_VERSION_MIN_REQUIRED __CORDOVA_4_0_0 #endif --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
