summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeat Forster <bfo@synthesis.ch>2010-02-03 12:11:16 +0100
committerLukas Zeller <luz@synthesis.ch>2010-02-03 12:11:16 +0100
commit4a9274e4be5d4f6722c7df8017231bea63719cc3 (patch)
treef4ef6373611e5264a3563c22f83e6710b63ac42a
parentef701230e8925d4618a2fc6845cf0060e3d07bb9 (diff)
SDK_util.c : cosmetic - renamed define
-rwxr-xr-xsrc/sysync_SDK/Sources/SDK_util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sysync_SDK/Sources/SDK_util.c b/src/sysync_SDK/Sources/SDK_util.c
index eae71dd..55ff762 100755
--- a/src/sysync_SDK/Sources/SDK_util.c
+++ b/src/sysync_SDK/Sources/SDK_util.c
@@ -30,9 +30,9 @@
#include "android/log.h"
#endif
-#define MyDB "SDK" /* local debug name */
-#define SDKversionMask 0xffff00ff /* Old mask for version comparison: Omit OS identifier */
-#define maxmsglen 1024 /* Maximum string length for callback string */
+#define MyDB "SDK" /* local debug name */
+#define Old_SDKversionMask 0xffff00ff /* Old mask for version comparison: Omit OS identifier */
+#define maxmsglen 1024 /* Maximum string length for callback string */
@@ -75,7 +75,7 @@ CVersion Plugin_Version( short buildNumber )
bool Feature_Supported ( CVersion versionFeature, CVersion currentVersion )
{
CVersion v= currentVersion;
- if (v<VP_NewBuildNumber) v= v & SDKversionMask; /* avoid OS identifier comparison */
+ if (v<VP_NewBuildNumber) v= v & Old_SDKversionMask; /* avoid OS identifier comparison */
return v>=versionFeature;
} /* FeatureSupported */
@@ -85,7 +85,7 @@ bool Feature_Supported ( CVersion versionFeature, CVersion currentVersion )
bool Feature_SupportedEq( CVersion versionFeature, CVersion currentVersion )
{
CVersion v= currentVersion;
- if (v<VP_NewBuildNumber) v= v & SDKversionMask; /* avoid OS identifier comparison */
+ if (v<VP_NewBuildNumber) v= v & Old_SDKversionMask; /* avoid OS identifier comparison */
return v==versionFeature;
} /* FeatureSupportedEq */