~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to alpine/headers.h

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2007-02-17 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070217131742-99x5c6cpg1pbkdhw
Tags: upstream-0.82+dfsg
ImportĀ upstreamĀ versionĀ 0.82+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: headers.h 202 2006-10-25 23:31:02Z jpf@u.washington.edu $
 
3
 *
 
4
 * ========================================================================
 
5
 * Copyright 2006 University of Washington
 
6
 *
 
7
 * Licensed under the Apache License, Version 2.0 (the "License");
 
8
 * you may not use this file except in compliance with the License.
 
9
 * You may obtain a copy of the License at
 
10
 *
 
11
 *     http://www.apache.org/licenses/LICENSE-2.0
 
12
 *
 
13
 * ========================================================================
 
14
 */
 
15
 
 
16
#ifndef ALPINE_HEADERS_INCLUDED
 
17
#define ALPINE_HEADERS_INCLUDED
 
18
 
 
19
 
 
20
/*----------------------------------------------------------------------
 
21
           Include files
 
22
 ----*/
 
23
 
 
24
#include "../pith/headers.h"
 
25
 
 
26
#include "../pico/headers.h"
 
27
 
 
28
 
 
29
/*
 
30
 * Redefinition to help pico storage object use more clear
 
31
 */
 
32
#define PicoText ExternalText
 
33
 
 
34
 
 
35
#if !defined(DOS) && !defined(OS2) && !defined(LEAVEOUTFIFO)
 
36
    /*
 
37
     * If LEAVEOUTFIFO is set in os.h, then we leave it out.
 
38
     * If it isn't set, we still might leave it out. We'll decide
 
39
     * based on whether or not O_NONBLOCK is defined or not.
 
40
     * It's just a guess. Safer would be to change the polarity of the
 
41
     * test and define something like INCLUDEFIFO instead of LEAVEOUTFIFO
 
42
     * and only define it where we know. Since we don't really know
 
43
     * we'd rather run the risk of being wrong and finding out that
 
44
     * way instead of just having people not know about it.
 
45
     */
 
46
#if !defined(O_NONBLOCK)
 
47
#define LEAVEOUTFIFO 1
 
48
#endif
 
49
#endif
 
50
 
 
51
/* include osdep protos and def'ns */
 
52
#include "osdep/debuging.h"
 
53
#include "osdep/execview.h"
 
54
#include "osdep/fltrname.h"
 
55
#include "osdep/jobcntrl.h"
 
56
#include "osdep/print.h"
 
57
#include "osdep/termin.gen.h"
 
58
#include "osdep/termout.gen.h"
 
59
#ifndef _WINDOWS
 
60
#include "osdep/termin.unx.h"
 
61
#include "osdep/termout.unx.h"
 
62
#else /* _WINDOWS */
 
63
#include "osdep/termin.wnt.h"
 
64
#include "osdep/termout.wnt.h"
 
65
#endif /* _WINDOWS */
 
66
 
 
67
 
 
68
#endif /* ALPINE_HEADERS_INCLUDED */