[Cmake-commits] [cmake-commits] hoffman committed DynamicLoader.hxx.in 1.10 1.11 ProcessUNIX.c 1.76 1.77 testProcess.c 1.35 1.36
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 22 14:05:15 EDT 2008
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv10804/Source/kwsys
Modified Files:
DynamicLoader.hxx.in ProcessUNIX.c testProcess.c
Log Message:
ENH: a few more haiku fixes, stop the debugger from coming up for tests
Index: ProcessUNIX.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/ProcessUNIX.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -C 2 -d -r1.76 -r1.77
*** ProcessUNIX.c 15 Sep 2008 21:53:28 -0000 1.76
--- ProcessUNIX.c 22 Sep 2008 18:05:13 -0000 1.77
***************
*** 64,67 ****
--- 64,71 ----
#include <ctype.h> /* isspace */
+ #ifdef __HAIKU__
+ #undef __BEOS__
+ #endif
+
#if defined(KWSYS_C_HAS_PTRDIFF_T) && KWSYS_C_HAS_PTRDIFF_T
typedef ptrdiff_t kwsysProcess_ptrdiff_t;
Index: testProcess.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/testProcess.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C 2 -d -r1.35 -r1.36
*** testProcess.c 15 Sep 2008 21:53:28 -0000 1.35
--- testProcess.c 22 Sep 2008 18:05:13 -0000 1.36
***************
*** 88,92 ****
/* Avoid error diagnostic popups since we are crashing on purpose. */
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
! #elif defined(__BEOS__)
/* Avoid error diagnostic popups since we are crashing on purpose. */
disable_debugger(1);
--- 88,92 ----
/* Avoid error diagnostic popups since we are crashing on purpose. */
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
! #elif defined(__BEOS__) || defined(__HAIKU__)
/* Avoid error diagnostic popups since we are crashing on purpose. */
disable_debugger(1);
Index: DynamicLoader.hxx.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/DynamicLoader.hxx.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** DynamicLoader.hxx.in 6 Jun 2007 15:26:06 -0000 1.10
--- DynamicLoader.hxx.in 22 Sep 2008 18:05:13 -0000 1.11
***************
*** 26,29 ****
--- 26,31 ----
#include <mach-o/dyld.h>
#endif
+ #elif defined(__HAIKU__)
+ #include <os/kernel/image.h>
#elif defined(__BEOS__)
#include <be/kernel/image.h>
More information about the Cmake-commits
mailing list