Ticket #1838: diff.exe_mon.ipp

File diff.exe_mon.ipp, 1.5 KB (added by Jim Bell <jim@…>, 15 years ago)

Changes required to execution_monitor.ipp to build under FreeBSD

Line 
1142c142,146
2< # if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
3---
4> # if !(defined(__FreeBSD__))
5> # define BOOST_TEST_SIG_PARAM_DEFS
6> #endif
7>
8> # if !defined(__CYGWIN__) && !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__))
9279a284
10> #if defined(BOOST_TEST_SIG_PARAM_DEFS)
11321a327,331
12> #else
13> report_error( execution_exception::system_fatal_error,
14> "signal: illegal opcode; address of failing instruction: 0x%08lx",
15> m_sig_info->si_addr );
16> #endif
17369a380
18> #if defined(BOOST_TEST_SIG_PARAM_DEFS)
19381a393,397
20> #else
21> report_error( execution_exception::system_fatal_error,
22> "memory access violation at address: 0x%08lx",
23> m_sig_info->si_addr );
24> #endif
25384a401
26> #if defined(BOOST_TEST_SIG_PARAM_DEFS)
27401a419,424
28> #else
29> report_error( execution_exception::system_fatal_error,
30> "memory access violation at address: 0x%08lx",
31> m_sig_info->si_addr );
32>
33> #endif
34404a428
35> #if defined(BOOST_TEST_SIG_PARAM_DEFS)
36436a461,465
37> #else
38> report_error( execution_exception::system_error,
39> "child; pid: %d; uid: %d; exit value: %d",
40> (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status );
41> #endif