Author: abroekhuis
Date: Tue Apr 10 08:38:20 2012
New Revision: 1311636
URL: http://svn.apache.org/viewvc?rev=1311636&view=rev
Log:
CELIX-33: fmaxl not supported on ARM
Modified:
incubator/celix/trunk/framework/private/src/framework.c
Modified: incubator/celix/trunk/framework/private/src/framework.c
URL:
http://svn.apache.org/viewvc/incubator/celix/trunk/framework/private/src/framework.c?rev=1311636&r1=1311635&r2=1311636&view=diff
==============================================================================
--- incubator/celix/trunk/framework/private/src/framework.c (original)
+++ incubator/celix/trunk/framework/private/src/framework.c Tue Apr 10 08:38:20
2012
@@ -321,7 +321,7 @@ celix_status_t fw_init(FRAMEWORK framewo
long id;
BUNDLE_STATE bundleState;
bundleArchive_getId(archive, &id);
- framework->nextBundleId = fmaxl(framework->nextBundleId, id +
1);
+ framework->nextBundleId = framework->nextBundleId > id + 1 ?
framework->nextBundleId : id + 1;
bundleArchive_getPersistentState(archive, &bundleState);
if (bundleState == BUNDLE_UNINSTALLED) {