]> andersk Git - moira.git/blobdiff - include/moira.h
compile with gcc without -traditional on suns
[moira.git] / include / moira.h
index 03c5e7033bc580c511ced3be185bdbab098e8916..c88f914a4146dd9b6c4a09d92c3b7533d3ad56c5 100644 (file)
@@ -87,7 +87,7 @@ char *hash_lookup(struct hash *h, int key);
 char *strsave(char *s);
 char *strtrim(char *s);
 char *canonicalize_hostname(char *s);
-#else !__STDC__
+#else /* !__STDC__ */
 int mr_connect();
 int mr_disconnect();
 int mr_host();
@@ -102,6 +102,10 @@ char *hash_lookup();
 char *strsave();
 char *strtrim();
 char *canonicalize_hostname();
-#endif __STDC__
+#endif  /* __STDC__ */
 
-#endif _moira_h_               /* Do Not Add Anything after this line. */
+/* error-name backward compatibility */
+#define MR_INGRES_ERR          MR_DBMS_ERR
+#define MR_INGRES_SOFTFAIL     MR_DBMS_SOFTFAIL
+
+#endif /* _moira_h_ */         /* Do Not Add Anything after this line. */
This page took 0.02512 seconds and 4 git commands to generate.