summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemun Lee <sm79.lee@samsung.com>2015-06-28 19:42:44 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2015-06-28 19:42:44 -0700
commitc505468d8307428f3c342ad61a5785ab43bd4d3f (patch)
tree9b5887011c1e8d8946a372c5f73d5a26b88a0c7b
parentf1b407a4f4a9e62a352bf67285e0286a38cbe7f9 (diff)
parent9326085ae8dab86eebe8478c2e9ee102f094b083 (diff)
downloadapp-core-c505468d8307428f3c342ad61a5785ab43bd4d3f.tar.gz
app-core-c505468d8307428f3c342ad61a5785ab43bd4d3f.tar.bz2
app-core-c505468d8307428f3c342ad61a5785ab43bd4d3f.zip
Merge "improved 64 bits compile" into tizen
-rw-r--r--src/appcore-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/appcore-util.c b/src/appcore-util.c
index 8d175bc..f0cb2fe 100644
--- a/src/appcore-util.c
+++ b/src/appcore-util.c
@@ -37,6 +37,7 @@
void stack_trim(void)
{
+#if sizeof(unsigned int) == sizeof(void*)
unsigned int sp;
char buf[BUF_SIZE];
FILE *file;
@@ -62,4 +63,5 @@ void stack_trim(void)
MADV_DONTNEED) < 0)
perror("stack madvise fail");
}
+#endif
}