aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index bb9066f..f2ce3c5 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -977,7 +977,7 @@ typedef struct
/* Macro: Returns true if the bfd is a PE executable as opposed to a
PE object file. */
#define bfd_pei_p(abfd) \
- (CONST_STRNEQ ((abfd)->xvec->name, "pei-"))
+ (startswith ((abfd)->xvec->name, "pei-"))
#ifdef __cplusplus
}
#endif