~ubuntu-branches/ubuntu/quantal/psicode/quantal

« back to all changes in this revision

Viewing changes to src/lib/libciomr/includes.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2009-02-23 00:12:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090223001202-rutldoy3dimfpesc
Tags: 3.4.0-1
* New upstream release.

[ Michael Banck ]
* debian/patches/01_DESTDIR.dpatch: Refreshed.
* debian/patches/02_FHS.dpatch: Removed, applied upstream.
* debian/patches/03_debian_docdir: Likewise.
* debian/patches/04_man.dpatch: Likewise.
* debian/patches/06_466828_fix_gcc_43_ftbfs.dpatch: Likewise.
* debian/patches/07_464867_move_executables: Fixed and refreshed.
* debian/patches/00list: Adjusted.
* debian/control: Improved description.
* debian/patches-held: Removed.
* debian/rules (install/psi3): Do not ship the ruby bindings for now.

[ Daniel Leidert ]
* debian/rules: Fix txtdir via DEB_MAKE_INSTALL_TARGET.
* debian/patches/01_DESTDIR.dpatch: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#include <stdio.h>
3
 
#include <stdlib.h>
4
 
#include <string.h>
5
 
#include <errno.h>
6
 
#include <math.h>
7
 
#include "libciomr/libciomr.h"
8
 
 
9
 
#if defined(SGI)
10
 
#  include <sys/stat.h>
11
 
#  include <sys/types.h>
12
 
#  include <sys/times.h>
13
 
#  include <time.h>
14
 
#  include <sys/param.h>
15
 
#  include <sys/mount.h>
16
 
#elif defined(AIX)
17
 
#  include <sys/stat.h>
18
 
#  include <sys/vfs.h>
19
 
#  include <time.h>
20
 
#  include <sys/times.h>
21
 
#elif defined(Linux)
22
 
#  include <sys/stat.h>
23
 
#  include <sys/vfs.h>
24
 
#  include <time.h>
25
 
#  include <sys/times.h>
26
 
#  include <sys/param.h>
27
 
#else
28
 
#  include <sys/types.h>
29
 
#  include <time.h>
30
 
#  include <sys/times.h>
31
 
#  include <sys/param.h>
32
 
#  include <sys/mount.h>
33
 
#  include <sys/stat.h>
34
 
#endif
35
 
 
36
 
#if (defined(DEC)||defined(SUN))
37
 
#define SEEK_SET 0
38
 
#define SEEK_CUR 1
39
 
#define SEEK_END 2
40
 
#endif
41
 
 
42
 
#define DSIGN(a,b) ((b) >= 0.0) ? (fabs(a)) : (-fabs(a))
43
 
#define MIN0(a,b) ((a)<(b)) ? (a) : (b)
44
 
#define MAX0(a,b) ((a)>(b)) ? (a) : (b)