Revision: 75724
          http://sourceforge.net/p/brlcad/code/75724
Author:   starseeker
Date:     2020-05-07 14:22:04 +0000 (Thu, 07 May 2020)
Log Message:
-----------
OpenBSD defines __BEGIN_DECLS - check first

Modified Paths:
--------------
    brlcad/trunk/src/other/libregex/regex.h.in

Modified: brlcad/trunk/src/other/libregex/regex.h.in
===================================================================
--- brlcad/trunk/src/other/libregex/regex.h.in  2020-05-07 14:17:46 UTC (rev 
75723)
+++ brlcad/trunk/src/other/libregex/regex.h.in  2020-05-07 14:22:04 UTC (rev 
75724)
@@ -85,16 +85,18 @@
 #endif
 
 
-#ifdef __cplusplus
-#  define __BEGIN_DECLS   extern "C" {
-#  define __END_DECLS     }
-#else
-#  ifndef __BEGIN_DECLS
-#    define __BEGIN_DECLS
-   #endif
-#  ifndef __END_DECLS
-#    define __END_DECLS
-#  endif
+#ifndef __BEGIN_DECLS
+# ifdef __cplusplus
+#   define __BEGIN_DECLS   extern "C" {
+#   define __END_DECLS     }
+# else
+#   ifndef __BEGIN_DECLS
+#     define __BEGIN_DECLS
+#   endif
+#   ifndef __END_DECLS
+#     define __END_DECLS
+#   endif
+# endif
 #endif
 
 

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