summaryrefslogtreecommitdiff
path: root/ld/bindef.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/bindef.h')
-rw-r--r--ld/bindef.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/bindef.h b/ld/bindef.h
index 2a2d8d8..dbacfcd 100644
--- a/ld/bindef.h
+++ b/ld/bindef.h
@@ -66,8 +66,12 @@
# endif /* BSD_A_OUT */
/* And finally make sure it worked */
-#ifdef C_EXT
+#if defined(A_MINHDR) || defined(BSD_A_OUT)
+#if defined(C_EXT) && defined(C_STAT) && !defined(SCNHSZ)
+
#define AOUT_DETECTED 1
+
+#endif
#endif
#endif /* NO_AOUT */