123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef _INCLUDE_STACKINFO_H
- #define _INCLUDE_STACKINFO_H 1
- #include_next <stackinfo.h>
- #if defined _STACK_GROWS_DOWN && _STACK_GROWS_DOWN
- # ifdef _STACK_GROWS_UP
- # error "stackinfo.h should not define both!"
- # else
- # define _STACK_GROWS_UP 0
- # endif
- #elif defined _STACK_GROWS_UP && _STACK_GROWS_UP
- # ifdef _STACK_GROWS_DOWN
- # error "stackinfo.h should not define both!"
- # else
- # define _STACK_GROWS_DOWN 0
- # endif
- #else
- # error "stackinfo.h must define _STACK_GROWS_UP or _STACK_GROWS_DOWN!"
- #endif
- #endif
|