From: Matthew Fernandez Date: Sun, 5 Dec 2021 02:16:30 +0000 (-0800) Subject: [nfc] remove legacy 'STACK_DIRECTION' lines in Windows config.h X-Git-Tag: 3.0.0~140^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a83c359a2a74efc571313ce758196d54840b949;p=graphviz [nfc] remove legacy 'STACK_DIRECTION' lines in Windows config.h This constant was introduced in the initial addition of the precreated Windows config.h, 76ead5c74029a5ceea61dd6c7600dc1931c275cf, but it is unclear where it originates from. None of the other build systems appear to define this and no prior or current state of the Graphviz tree has ever contained use of this macro. Graphviz does not use `alloca`. --- diff --git a/windows/include/config.h b/windows/include/config.h index 911d8c91f..4c4ca40f3 100644 --- a/windows/include/config.h +++ b/windows/include/config.h @@ -263,14 +263,6 @@ /* Define if you want SMYRNA */ /* #undef SMYRNA */ -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at runtime. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -/* #undef STACK_DIRECTION */ - /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1