Module Name:    othersrc
Committed By:   agc
Date:           Sat Dec  4 03:40:29 UTC 2021

Modified Files:
        othersrc/external/bsd/agcre/dist: agcre.h

Log Message:
Change HIDE_AGCRE to be a 0/1 value, rather than defined/undef

By default, don't hide (i.e. export all symbols)

NFC


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/agcre/dist/agcre.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/agcre/dist/agcre.h
diff -u othersrc/external/bsd/agcre/dist/agcre.h:1.3 othersrc/external/bsd/agcre/dist/agcre.h:1.4
--- othersrc/external/bsd/agcre/dist/agcre.h:1.3	Sat Dec  4 01:54:51 2021
+++ othersrc/external/bsd/agcre/dist/agcre.h	Sat Dec  4 03:40:29 2021
@@ -131,7 +131,12 @@ typedef struct agcre_regex_t {
 #  define DLL_LOCAL
 #endif
 
-#ifdef HIDE_AGCRE
+/* by default, don't hide external symbols */
+#ifndef HIDE_AGCRE
+#define HIDE_AGCRE	0
+#endif
+
+#if HIDE_AGCRE
 #define AGCRE_EXPORT	DLL_LOCAL
 #else
 #define AGCRE_EXPORT	DLL_PUBLIC

Reply via email to