#undef ERR in gmon.c to fix compiler warning
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Tue, 13 Jan 2009 02:25:48 +0000 (02:25 +0000)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Tue, 13 Jan 2009 02:25:48 +0000 (02:25 +0000)
gmon/gmon.c

index 1e94aab..85a2bf1 100644 (file)
@@ -59,6 +59,7 @@ struct gmonparam _gmonparam attribute_hidden = { GMON_PROF_OFF };
 static int     s_scale;
 #define                SCALE_1_TO_1    0x10000L
 
+#undef ERR
 #define ERR(s) write_not_cancel (STDERR_FILENO, s, sizeof (s) - 1)
 
 void moncontrol (int mode);