]> granicus.if.org Git - graphviz/commitdiff
[nfc] remove legacy 'STACK_DIRECTION' lines in Windows config.h
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 5 Dec 2021 02:16:30 +0000 (18:16 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Dec 2021 02:39:38 +0000 (18:39 -0800)
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`.

windows/include/config.h

index 911d8c91fbff1bb2e7f50793c3bf972177cc8e31..4c4ca40f3f8c13bf4502ab31fbf8a52c9d4bbc39 100644 (file)
 /* 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