Handle correctly passing a bad interpreter name to new-ui
[deliverable/binutils-gdb.git] / sim / common / sim-basics.h
index e0cb6d17c91dfafce19b173e8c1a23d7f6fa95ce..9f34e2fdcfec39f363bdcfa8918702242a773019 100644 (file)
@@ -27,7 +27,7 @@
 /* Basic configuration */
 
 #ifdef HAVE_CONFIG_H
-#include "cconfig.h"
+#include "config.h"
 #endif
 
 /* Basic host dependant mess - hopefully <stdio.h> + <stdarg.h> will
@@ -48,6 +48,13 @@ extern int asprintf (char **result, const char *format, ...);
 #endif
 
 
+#ifndef min
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#endif
+#ifndef max
+#define max(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
 
 /* Some versions of GCC include an attribute operator, define it */
 
This page took 0.023201 seconds and 4 git commands to generate.