Skip to content

Commit

Permalink
Added () around argument evaluation in TRY macro. Without them, xplt …
Browse files Browse the repository at this point in the history
…failed to compile on win32 with gcc 3.2 (mingw32)
  • Loading branch information
eric-jones committed Oct 2, 2003
1 parent 92a160e commit 8ccf598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/xplt/pygist/gistCmodule.c
Expand Up @@ -255,7 +255,7 @@ static void clearMemList (void);
/* New definition of TRY: (second argument m = 1 for memerr) */

#define TRY(e, m) do{if(!(e)){clearArrayList();clearFreeList(0);\
clearMemList();return m;}} while(0)
clearMemList();return (m);}} while(0)
#define TRYS(e) {char * errstr; \
if( (errstr=(e)) != NULL ) { \
clearArrayList(); \
Expand Down

0 comments on commit 8ccf598

Please sign in to comment.