~ubuntu-branches/ubuntu/trusty/lifelines/trusty

« back to all changes in this revision

Viewing changes to src/hdrs/arch.h

  • Committer: Bazaar Package Importer
  • Author(s): Felipe Augusto van de Wiel (faw)
  • Date: 2007-05-23 23:49:53 UTC
  • mfrom: (3.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20070523234953-ogno9rnbmth61i7p
Tags: 3.0.50-2etch1
* Changing docs/ll-reportmanual.xml and docs/ll-userguide.xml to fix
  documentation build problems (Closes: #418347).

* lifelines-reports
  - Adding a dependency to lifelines >= 3.0.50 to prevent file conflict.
    (Closes: #405500).

* Updating French translation. Thanks to Bernard Adrian. (Closes: #356671).

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * - there is no sleep() function available
21
21
 */
22
22
 
23
 
#if defined(HAVE_WINDOWS_H) || !defined(HAVE_SLEEP)
 
23
#if defined(HAVE_WINDOWS_H) && !defined(HAVE_SLEEP)
24
24
extern int sleep(int seconds);
25
25
#else
26
26
#include <unistd.h>
109
109
/* MS-Windows/Microsoft Visual C++ */
110
110
#define S_ISREG(qq) ((qq) & S_IFREG)
111
111
#define S_ISDIR(qq) ((qq) & S_IFDIR)
112
 
#endif
113
 
#endif
 
112
/* MS-Windows/Microsoft Visual C++ sys/stat.h uses old System 7 names */
 
113
#ifndef S_IRUSR
 
114
#define S_IRUSR _S_IREAD
 
115
#endif
 
116
#ifndef S_IWUSR
 
117
#define S_IWUSR _S_IWRITE
 
118
#endif
 
119
#ifndef S_IXUSR
 
120
#define S_IXUSR _S_IEXEC
 
121
#endif
 
122
#ifndef R_OK
 
123
#define R_OK 0x02
 
124
#endif
 
125
#ifndef W_OK
 
126
#define W_OK 0x04
 
127
#endif
 
128
#endif /* _MSC_VER */
 
129
#endif /* WIN32 */
114
130
 
115
131
/* *****************************************************************
116
132
 * Win32 codepage functions