SVN: backtracexx/backtracexx.cpp

pluto pluto at pld-linux.org
Wed Jun 18 21:41:41 CEST 2008


Author: pluto
Date: Wed Jun 18 21:41:40 2008
New Revision: 9812

Modified:
   backtracexx/backtracexx.cpp
Log:
- _Unwind_GetIPInfo is available in 4.2+, not 4.x.2+.


Modified: backtracexx/backtracexx.cpp
==============================================================================
--- backtracexx/backtracexx.cpp	(original)
+++ backtracexx/backtracexx.cpp	Wed Jun 18 21:41:40 2008
@@ -74,7 +74,7 @@
 		{
 			_Unwind_Ptr ip;
 
-#if ( __GNUC__ >= 4 ) && ( __GNUC_PATCHLEVEL__ >= 2 )
+#if ( __GNUC__ >= 4 ) && ( __GNUC_MINOR__ >= 2 )
 
 			int beforeInsn;
 			ip = _Unwind_GetIPInfo( ctx, &beforeInsn );


More information about the pld-cvs-commit mailing list