PERFORCE change 222997 for review
Robert Watson
rwatson at FreeBSD.org
Mon Mar 18 01:22:22 UTC 2013
http://p4web.freebsd.org/@@222997?ac=10
Change 222997 by rwatson at rwatson_cinnamon on 2013/03/18 01:21:32
Allow tesla-macros.h to be used in kernelspace.
Affected files ...
.. //depot/projects/ctsrd/tesla/src/sys/libtesla/tesla-macros.h#3 edit
Differences ...
==== //depot/projects/ctsrd/tesla/src/sys/libtesla/tesla-macros.h#3 (text+ko) ====
@@ -32,8 +32,12 @@
#ifndef TESLA_MACROS_H
#define TESLA_MACROS_H
+#ifdef _KERNEL
+#include <libtesla/tesla.h>
+#else
#include <limits.h>
#include <tesla.h>
+#endif
/*
* Macros to make TESLA assertions a little easier to read.
More information about the p4-projects
mailing list