~jaypipes/drizzle/split-xa-resource-manager

« back to all changes in this revision

Viewing changes to drizzled/check_stack_overrun.cc

  • Committer: Jay Pipes
  • Date: 2010-02-14 20:26:43 UTC
  • mfrom: (1273.1.27 staging)
  • Revision ID: jpipes@serialcoder-20100214202643-ahuqvc8rhn8u7y33
Merge trunk and resolve conflicts

Show diffs side-by-side

added added

removed removed

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