~ubuntu-branches/debian/experimental/eso-midas/experimental

« back to all changes in this revision

Viewing changes to libsrc/os/unix/ost.c

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-06-05 14:04:51 UTC
  • Revision ID: package-import@ubuntu.com-20140605140451-92kuptg0tzlc2iez
Tags: 13.09pl1.2+dfsg-3
* include libgmidas shared library
* Fix (another) FTBS on kfreebsd
* Fix FTBS on s390x (64 bit big endian problem)

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
# define _POSIX_VDISABLE -1
179
179
#endif
180
180
 
181
 
#if defined(_POSIX_VDISABLE) && (_POSIX_VDISABLE != -1)
 
181
#if defined(_POSIX_VDISABLE)
 
182
  if (_POSIX_VDISABLE != -1) {
182
183
 
183
184
  /* The symbol is defined so we can just use it */
184
185
  tty1.c_cc[VQUIT] = _POSIX_VDISABLE;
185
186
  tty1.c_cc[VSUSP] = _POSIX_VDISABLE;
186
187
 
187
 
#else /* The symbol is not defined */
188
 
 
 
188
  } else
 
189
#endif
 
190
  {
189
191
  long temp;
190
192
 
191
193
  errno = 0;    /* Make sure we can tell if fpathconf() changes errno. */
209
211
  tty1.c_cc[VQUIT] = 0377;
210
212
  tty1.c_cc[VSUSP] = 0377;
211
213
 
212
 
#endif
 
214
  }
213
215
 
214
216
return(0);
215
217
}