Changeset: 04f710ba1604 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/04f710ba1604
Modified Files:
        monetdb5/mal/mal_runtime.h
Branch: default
Log Message:

Make sure file is not included outside of monetdb5.


diffs (14 lines):

diff --git a/monetdb5/mal/mal_runtime.h b/monetdb5/mal/mal_runtime.h
--- a/monetdb5/mal/mal_runtime.h
+++ b/monetdb5/mal/mal_runtime.h
@@ -9,6 +9,10 @@
 #ifndef _MAL_RUNTIME_H
 #define _MAL_RUNTIME_H
 
+#ifndef LIBMONETDB5
+#error this file should not be included outside its source directory
+#endif
+
 #include "mal.h"
 #include "mal_client.h"
 #include "mal_instruction.h"
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to