Author: mlytwyn Date: Tue Oct 18 19:58:36 2016 New Revision: 40155 URL: http://svn.gna.org/viewcvs/gnustep?rev=40155&view=rev Log: Undefine setjmp/longjmp to avoid warnings
Modified: libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSException.h Modified: libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSException.h URL: http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSException.h?rev=40155&r1=40154&r2=40155&view=diff ============================================================================== --- libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSException.h (original) +++ libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSException.h Tue Oct 18 19:58:36 2016 @@ -59,7 +59,13 @@ * implementation of longjmp in mingw-w64 sometimes crashes in msvcrt.dll * but the builtin version provided by gcc seems to work. */ +#ifdef setjmp +#undef setjmp +#endif #define setjmp(X) __builtin_setjmp(X) +#ifdef longjmp +#undef longjmp +#endif #define longjmp(X,Y) __builtin_longjmp(X,Y) #endif _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs