Revision: 76049
          http://sourceforge.net/p/brlcad/code/76049
Author:   starseeker
Date:     2020-06-06 19:15:07 +0000 (Sat, 06 Jun 2020)
Log Message:
-----------
Once we untangle the gct decimation and tienet codes, this header will go away 
and in the meantime it is documented as not being considered public API.  
Enforce that further with BRLCADBUILD and HAVE_CONFIG_H guards.

Modified Paths:
--------------
    brlcad/trunk/include/bu/tc.h

Modified: brlcad/trunk/include/bu/tc.h
===================================================================
--- brlcad/trunk/include/bu/tc.h        2020-06-06 19:09:16 UTC (rev 76048)
+++ brlcad/trunk/include/bu/tc.h        2020-06-06 19:15:07 UTC (rev 76049)
@@ -34,6 +34,14 @@
 #define _BU_TCM_H
 
 #include "common.h"
+
+#if !defined(BRLCADBUILD)
+#  error "Warning: included bu/tc.h (compile-time API) without BRLCADBUILD 
defined"
+#endif
+#if !defined(HAVE_CONFIG_H)
+#  error "Warning: included bu/tc.h (compile-time API) without HAVE_CONFIG_H 
defined"
+#endif
+
 #include "bu/defines.h"
 
 #include "bio.h" /* For windows.h */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to