diff th_util.h @ 4:67f4a4233372

Move defaults to header file.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 Mar 2008 05:10:20 +0200
parents bd61a80a6c54
children 2f92373537b5
line wrap: on
line diff
--- a/th_util.h	Wed Mar 26 05:03:16 2008 +0200
+++ b/th_util.h	Wed Mar 26 05:10:20 2008 +0200
@@ -33,6 +33,15 @@
 #endif
 
 
+#ifdef TH_NO_DEFAULTS
+#define TH_PROG_AUTHOR		NULL
+#define TH_PROG_LICENSE		NULL
+#else
+#define TH_PROG_AUTHOR		"By Matti 'ccr' Hämäläinen (C) Copyright 2008 TNSP"
+#define TH_PROG_LICENSE		"This software is licensed under GNU GPL version 2"
+#endif
+
+
 /* Replacement for assert() */
 #ifdef HAVE_NO_ASSERT
 #  ifdef NDEBUG