projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341c0b1
)
Fix the stack direction check again
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 24 Nov 2013 02:09:32 +0000
(21:09 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 24 Nov 2013 02:09:32 +0000
(21:09 -0500)
Turns out I got it wrong.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
3811a26
..
428be67
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-597,7
+597,7
@@
AC_CACHE_CHECK([for growing stack pointer],glib_cv_stack_grows,[
AC_TRY_RUN([
volatile int *a = 0, *b = 0;
void f (int i) { volatile int x = 5; if (i == 0) b = &x; else f (i - 1); }
- int main () { volatile int y = 7; a = &y; f (100); return b > a; }
+ int main () { volatile int y = 7; a = &y; f (100); return b > a
? 0 : 1
; }
],
glib_cv_stack_grows=yes
,