Revision: 55672
          http://sourceforge.net/p/brlcad/code/55672
Author:   starseeker
Date:     2013-06-05 04:04:56 +0000 (Wed, 05 Jun 2013)
Log Message:
-----------
Don't define __BEGIN_DECLS and __END_DECLS in regex.h if they're already 
defined.

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

Modified: brlcad/trunk/src/other/libregex/regex.h
===================================================================
--- brlcad/trunk/src/other/libregex/regex.h     2013-06-05 04:02:13 UTC (rev 
55671)
+++ brlcad/trunk/src/other/libregex/regex.h     2013-06-05 04:04:56 UTC (rev 
55672)
@@ -80,8 +80,12 @@
 #  define __BEGIN_DECLS   extern "C" {
 #  define __END_DECLS     }
 #else
-#  define __BEGIN_DECLS
-#  define __END_DECLS
+#  ifndef __BEGIN_DECLS
+#    define __BEGIN_DECLS
+   #endif
+#  ifndef __END_DECLS
+#    define __END_DECLS
+#  endif
 #endif
 
 

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


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to