~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/check_stack_overrun.cc

  • Committer: Brian Aker
  • Date: 2010-02-13 01:13:55 UTC
  • mfrom: (1273.12.11 pandora-build)
  • Revision ID: brian@gaz-20100213011355-u3niuz4l6283q19w
Monty update for Pandora

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)