~ubuntu-branches/debian/squeeze/pgadmin3/squeeze

« back to all changes in this revision

Viewing changes to src/include/postgres.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Porcheron
  • Date: 2008-02-07 00:56:22 UTC
  • mto: (2.1.6 hardy) (6.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080207005622-c2ail8p4d0sk3dnw
Tags: upstream-1.8.2
ImportĀ upstreamĀ versionĀ 1.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//////////////////////////////////////////////////////////////////////////
2
 
//
3
 
// pgAdmin III - PostgreSQL Tools
4
 
// RCS-ID:      $Id: postgres.h 4874 2006-01-06 17:33:27Z dpage $
5
 
// Copyright (C) 2002 - 2006, The pgAdmin Development Team
6
 
// This software is released under the Artistic Licence
7
 
//
8
 
// postgres.h - dummy include
9
 
//
10
 
//////////////////////////////////////////////////////////////////////////
11
 
 
12
 
 
13
 
#include <string.h>
14
 
 
15
 
#define lengthof(array) (sizeof (array) / sizeof ((array)[0]))
16
 
#define endof(array)    (&array[lengthof(array)])
17
 
 
18
 
 
19
 
 
20
 
// to suppress much stuff in parse.h
21
 
#define YYTOKENTYPE
22
 
#define YYSTYPE int
23
 
 
24
 
 
25
 
#define NAMEDATALEN 32