diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2006-12-18 05:36:23 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2006-12-18 05:36:23 +0000 |
commit | fdbeae7cd48d220f22f51d00a1b3c7c6525973ee (patch) | |
tree | c12f1f8dd657363e3fd759efe9a7b349a0ed6e08 /lib/libelf/libelf_data.c | |
parent | d77d3157df850828b072cae49795fbbb825204d3 (diff) | |
download | FreeBSD-src-fdbeae7cd48d220f22f51d00a1b3c7c6525973ee.zip FreeBSD-src-fdbeae7cd48d220f22f51d00a1b3c7c6525973ee.tar.gz |
Use the correct value of __FreeBSD_version.
Diffstat (limited to 'lib/libelf/libelf_data.c')
-rw-r--r-- | lib/libelf/libelf_data.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index 4bab441..873fac8 100644 --- a/lib/libelf/libelf_data.c +++ b/lib/libelf/libelf_data.c @@ -66,7 +66,7 @@ _libelf_xlate_shtype(uint32_t sht) return (ELF_T_SYM); case SHT_SYMTAB_SHNDX: return (ELF_T_WORD); -#if __FreeBSD_version > 700009 +#if __FreeBSD_version >= 700025 case SHT_GNU_verdef: /* == SHT_SUNW_verdef */ return (ELF_T_VDEF); case SHT_GNU_verneed: /* == SHT_SUNW_verneed */ @@ -82,4 +82,3 @@ _libelf_xlate_shtype(uint32_t sht) return (-1); } } - |