]> granicus.if.org Git - libjpeg-turbo/commitdiff
Remove VMS-specific code
authorDRC <dcommander@users.sourceforge.net>
Thu, 29 May 2014 19:31:45 +0000 (19:31 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 29 May 2014 19:31:45 +0000 (19:31 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1322 632fc199-4ca6-4c93-a231-07263d6284db

cdjpeg.h
rdjpgcom.c
wrjpgcom.c

index c633f3f88fd06568abdace226635e1d626a6d465..8461ee33bf403f8c094b5b728f76bce8842b7c78 100644 (file)
--- a/cdjpeg.h
+++ b/cdjpeg.h
@@ -129,29 +129,16 @@ EXTERN(FILE *) write_stdout (void);
 #define READ_BINARY     "r"
 #define WRITE_BINARY    "w"
 #else
-#ifdef VMS                      /* VMS is very nonstandard */
-#define READ_BINARY     "rb", "ctx=stm"
-#define WRITE_BINARY    "wb", "ctx=stm"
-#else                           /* standard ANSI-compliant case */
 #define READ_BINARY     "rb"
 #define WRITE_BINARY    "wb"
 #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
 #ifndef EXIT_WARNING
-#ifdef VMS
-#define EXIT_WARNING  1         /* VMS is very nonstandard */
-#else
 #define EXIT_WARNING  2
 #endif
-#endif
index 02ce90f2b692e0339b12be32fa344d8793d57682..2f0115df256543e5f4c75d334482f58022bb7e3c 100644 (file)
@@ -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
 #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
 
 
 /*
index 1055d862dd976d88a00d2273b39a883d267f31ee..ecebd8ccddc58330e54172ad3d08fd6785452df9 100644 (file)
@@ -1,8 +1,10 @@
 /*
  * wrjpgcom.c
  *
+ * This file was part of the Independent JPEG Group's software:
  * Copyright (C) 1994-1997, Thomas G. Lane.
- * 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 inserts
@@ -38,25 +40,16 @@ extern void * malloc ();
 #define READ_BINARY     "r"
 #define WRITE_BINARY    "w"
 #else
-#ifdef VMS                      /* VMS is very nonstandard */
-#define READ_BINARY     "rb", "ctx=stm"
-#define WRITE_BINARY    "wb", "ctx=stm"
-#else                           /* standard ANSI-compliant case */
 #define READ_BINARY     "rb"
 #define WRITE_BINARY    "wb"
 #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
 
 /* Reduce this value if your malloc() can't allocate blocks up to 64K.
  * On DOS, compiling in large model is usually a better solution.