aboutsummaryrefslogtreecommitdiff
path: root/rdjpgcom.c
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-05-29 19:31:45 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-05-29 19:31:45 +0000
commitb5b7a7cdc080a20bf586f491381e8304f378fc1c (patch)
tree93feadd17a4bd9527bfc1a3e739d86c72d2b0417 /rdjpgcom.c
parent7e3481413d602d983954337a328d881eb0455156 (diff)
Remove VMS-specific code
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1322 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'rdjpgcom.c')
-rw-r--r--rdjpgcom.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/rdjpgcom.c b/rdjpgcom.c
index 02ce90f..2f0115d 100644
--- a/rdjpgcom.c
+++ b/rdjpgcom.c
@@ -1,9 +1,11 @@
/*
* rdjpgcom.c
*
+ * This file was part of the Independent JPEG Group's software:
* Copyright (C) 1994-1997, Thomas G. Lane.
* Modified 2009 by Bill Allombert, Guido Vollbeding.
- * This file is part of the Independent JPEG Group's software.
+ * It was modified by The libjpeg-turbo Project to include only code relevant
+ * to libjpeg-turbo.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains a very simple stand-alone application that displays
@@ -38,23 +40,15 @@
#ifdef DONT_USE_B_MODE /* define mode parameters for fopen() */
#define READ_BINARY "r"
#else
-#ifdef VMS /* VMS is very nonstandard */
-#define READ_BINARY "rb", "ctx=stm"
-#else /* standard ANSI-compliant case */
#define READ_BINARY "rb"
#endif
-#endif
#ifndef EXIT_FAILURE /* define exit() codes if not provided */
#define EXIT_FAILURE 1
#endif
#ifndef EXIT_SUCCESS
-#ifdef VMS
-#define EXIT_SUCCESS 1 /* VMS is very nonstandard */
-#else
#define EXIT_SUCCESS 0
#endif
-#endif
/*