]> andersk Git - moira.git/blobdiff - include/moira.h
Switch from Imake-based build system to autoconf-based.
[moira.git] / include / moira.h
index 0f6b5266c937aaf3583bef8f9173d6e1a2d40f19..a12a59cbde2097666d01c52679d1b5c372df4173 100644 (file)
@@ -146,7 +146,11 @@ int mr_query(char *handle, int argc, char **argv,
 #define MR_INGRES_SOFTFAIL     MR_DBMS_SOFTFAIL
 
 
-#ifndef __GNUC__
+#ifdef __GNUC__
+#if __GNUC_MINOR__ < 7
+#define __attribute__(x)
+#endif
+#else /* ! __GNUC __ */
 #define __attribute__(x)
 #endif
 
This page took 0.031804 seconds and 4 git commands to generate.