* _mingw.h.in (__MINGW_GCC_VERSION): New macro.
* setjmp.h (setjmp): Use mingw_getsp() with gcc < 4.7.2.

merge from trunk r5162:
2012-07-04  Kai Tietz  <ktietz@redhat.com>
	    Tristan Gingold <gingold@adacore.com>
	* setjmp.h (setjmp): Use frame-address builtin.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/stable/v2.x@5164 4407c894-4637-0410-b4f5-ada5f102cad1
4 files changed