~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/check_stack_overrun.cc

pandora-build v0.103 - fix macros for cross-compiling. Fix stack direction check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
/****************************************************************************
28
28
        Check stack size; Send error if there isn't enough stack to continue
29
29
****************************************************************************/
30
 
#if STACK_DIRECTION < 0
 
30
#if defined(STACK_DIRECTION) && (STACK_DIRECTION < 0)
31
31
#define used_stack(A,B) (long) (A - B)
32
32
#else
33
33
#define used_stack(A,B) (long) (B - A)