~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Utilities/kwsys/testProcess.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-12-19 20:16:49 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081219201649-drt97guwl2ryt0cn

* New upstream version.
  - patches/nifti-versioning.patch: Remove.  Applied upstream.
  - control:
  - rules: Update version numbers, package names.

* control: Build-depend on uuid-dev (gdcm uses it).

* copyright: Update download URL.

* rules: Adhere to parallel=N in DEB_BUILD_OPTIONS by setting MAKEFLAGS.

* compat: Set to 7.
* control: Update build-dep on debhelper to version >= 7.

* CMakeCache.txt.debian: Set CMAKE_BUILD_TYPE to "RELEASE" so that we
  build with -O3 (not -O2), necessary to optimize the templated code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# pragma warn -8060 /* possibly incorrect assignment */
35
35
#endif
36
36
 
37
 
#if defined(__BEOS__) && !defined(__ZETA__)
 
37
#if defined(__BEOS__) && !defined(__ZETA__) && !defined(__HAIKU__)
38
38
/* BeOS 5 doesn't have usleep(), but it has snooze(), which is identical. */
39
39
# include <be/kernel/OS.h>
40
40
static inline void testProcess_usleep(unsigned int msec)
87
87
#if defined(_WIN32)
88
88
  /* Avoid error diagnostic popups since we are crashing on purpose.  */
89
89
  SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
90
 
#elif defined(__BEOS__)
 
90
#elif defined(__BEOS__) || defined(__HAIKU__)
91
91
  /* Avoid error diagnostic popups since we are crashing on purpose.  */
92
92
  disable_debugger(1);
93
93
#endif