aboutsummaryrefslogtreecommitdiff
path: root/src/graph/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/include')
-rw-r--r--src/graph/include/view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graph/include/view.h b/src/graph/include/view.h
index 5d77d46f..6df571a0 100644
--- a/src/graph/include/view.h
+++ b/src/graph/include/view.h
@@ -34,8 +34,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* This file is to be included by all the viewport files */
#define check(code) checker(code,__LINE__,"")
-#undef saymem
+#ifndef saymem
#define saymem(a,b,c) saymemWithLine(a,b,c,__LINE__)
+#endif
#define exitWithAck(ACK,ACKsize,i) \
check(write(Socket,&(ACK),sizeof(ACKsize))); exit(i);
#define NIL(type) ((type *)NULL)