~ubuntu-branches/ubuntu/edgy/agrep/edgy

« back to all changes in this revision

Viewing changes to config.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2005-12-27 17:01:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051227170100-nk2hnq0bnlkbk3q3
Tags: 4.17-2
Added patch to fix FTBS on amd64 (Closes: #344909).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
 
2
 
 
3
/*
 
4
 * Definitions in this file will be visible throughout glimpse source code.
 
5
 * Any global flags or macros can should be defined here.
 
6
 */
 
7
 
 
8
#if defined(__NeXT__)
 
9
#define getcwd(buf,size) getwd(buf)   /* NB: unchecked target size--could overflow; BG: Ok since buffers are usually >= 256B */
 
10
#define S_ISREG(mode)   (((mode) & (_S_IFMT)) == (_S_IFREG))
 
11
#define S_ISDIR(mode)   (((mode) & (_S_IFMT)) == (_S_IFDIR))
 
12
#endif