Fix compilation of BreakpointFallback on win32/mingw, which has signal.h but does not define SIGTRAP.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 07 Aug 2007 00:16:13 +0100
changeset 1211 f96d69ef6038
parent 1210 599a311daef6
child 1212 02d60ab49490
child 1231 01baeebb110e
Fix compilation of BreakpointFallback on win32/mingw, which has signal.h but does not define SIGTRAP.
src/core/breakpoint.cc
--- a/src/core/breakpoint.cc	Mon Aug 06 14:40:43 2007 -0700
+++ b/src/core/breakpoint.cc	Tue Aug 07 00:16:13 2007 +0100
@@ -28,7 +28,7 @@
 
 namespace ns3 {
 
-#ifdef HAVE_SIGNAL_H
+#if defined (HAVE_SIGNAL_H) && defined (SIGTRAP)
 
 void
 BreakpointFallback (void)