summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2020-12-29 06:57:29 -0800
committerKurt Schwehr <schwehr@google.com>2020-12-29 06:57:29 -0800
commit66a9f0f8e0033fb685e7a3251fcea04c7702d19e (patch)
treec861e4f61923ae0a69735ed20b9783f87117faa0
parentb10bf3ab80094edace1978d0f3a5693b7f367580 (diff)
downloadlibtiff-git-66a9f0f8e0033fb685e7a3251fcea04c7702d19e.tar.gz
Remove "ifdef VMS" that are no longer necessary.
Both sides of the if are now the same.
-rw-r--r--libtiff/tif_codec.c4
-rw-r--r--libtiff/tiffiop.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/libtiff/tif_codec.c b/libtiff/tif_codec.c
index 1ed3aa42..f698926d 100644
--- a/libtiff/tif_codec.c
+++ b/libtiff/tif_codec.c
@@ -80,11 +80,7 @@ static int NotConfigured(TIFF*, int);
/*
* Compression schemes statically built into the library.
*/
-#ifdef VMS
const TIFFCodec _TIFFBuiltinCODECS[] = {
-#else
-const TIFFCodec _TIFFBuiltinCODECS[] = {
-#endif
{ "None", COMPRESSION_NONE, TIFFInitDumpMode },
{ "LZW", COMPRESSION_LZW, TIFFInitLZW },
{ "PackBits", COMPRESSION_PACKBITS, TIFFInitPackBits },
diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h
index ab10c580..23841f59 100644
--- a/libtiff/tiffiop.h
+++ b/libtiff/tiffiop.h
@@ -456,11 +456,7 @@ extern int TIFFInitZSTD(TIFF*, int);
#ifdef WEBP_SUPPORT
extern int TIFFInitWebP(TIFF*, int);
#endif
-#ifdef VMS
extern const TIFFCodec _TIFFBuiltinCODECS[];
-#else
-extern const TIFFCodec _TIFFBuiltinCODECS[];
-#endif
#if defined(__cplusplus)
}