]> arthur.barton.de Git - ngircd.git/blobdiff - src/portab/portab.h
Unbreak GCC 10 (-fno-common) build
[ngircd.git] / src / portab / portab.h
index 78b6f7e126e66b870b7d9016e6b2a9d0575dd824..43f2f9070c20caa28cdeee403d80b177dfa95b91 100644 (file)
@@ -102,7 +102,11 @@ typedef unsigned char bool;
 #endif
 
 #undef GLOBAL
+#ifdef GLOBAL_INIT
 #define GLOBAL
+#else
+#define GLOBAL extern
+#endif
 
 /* SPLint */
 
@@ -175,6 +179,10 @@ extern int vsnprintf PARAMS(( char *str, size_t count, const char *fmt, va_list
 # define PACKAGE_VERSION VERSION
 #endif
 
+#ifndef SYSCONFDIR
+# define SYSCONFDIR "/etc"
+#endif
+
 #endif
 
 /* -eof- */