Revision: 76034
          http://sourceforge.net/p/brlcad/code/76034
Author:   starseeker
Date:     2020-06-05 17:56:16 +0000 (Fri, 05 Jun 2020)
Log Message:
-----------
Make sure the COMPILER_DLL* defines are empty in situations where 
brlcad_config.h isn't available.

Modified Paths:
--------------
    brlcad/trunk/include/common.h

Modified: brlcad/trunk/include/common.h
===================================================================
--- brlcad/trunk/include/common.h       2020-06-05 08:08:58 UTC (rev 76033)
+++ brlcad/trunk/include/common.h       2020-06-05 17:56:16 UTC (rev 76034)
@@ -524,6 +524,19 @@
 #  define CPP_FILELINE __FILE__ ":" CPP_XSTR(__LINE__)
 #endif
 
+/**
+ * If we've not already defined COMPILER_DLLEXPORT and COMPILER_DLLIMPORT,
+ * define them away so code including the *_EXPORT header logic won't
+ * fail.
+ */
+#ifndef COMPILER_DLLEXPORT
+#  define COMPILER_DLLEXPORT
+#endif
+
+#ifndef COMPILER_DLLIMPORT
+#  define COMPILER_DLLIMPORT
+#endif
+
 #endif  /* COMMON_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