summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Harsch <mike@harschsystems.com>2012-10-22 14:38:24 -0600
committerMike Harsch <mike@harschsystems.com>2012-10-22 14:38:24 -0600
commitafb1582fed8039640805d5b64c9b46a6d82d296b (patch)
treee86305f2f78960663460ee07dff9c76c3d8ea696
parent13ec6c90564ec7d2c44c09ca734c9ec60b8788fa (diff)
downloadlibnvpair-afb1582fed8039640805d5b64c9b46a6d82d296b.tar.gz
guard against undefined TEXT_DOMAIN
-rw-r--r--nvpair.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvpair.h b/nvpair.h
index ad25eff..b0b17f2 100644
--- a/nvpair.h
+++ b/nvpair.h
@@ -35,6 +35,10 @@
#include <sys/kmem.h>
#endif
+#if !defined(TEXT_DOMAIN)
+#define TEXT_DOMAIN "SYS_TEST"
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif