Better OpenVMS support. Patches from Alexey Chupahin.

This commit is contained in:
Andrey Kiselev 2007-11-23 10:01:34 +00:00
parent d14dae9c0c
commit d7c1603a27
3 changed files with 984 additions and 119 deletions

View File

@ -1,3 +1,8 @@
2007-11-23 Andrey Kiselev <dron@ak4719.spb.edu>
* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
from Alexey Chupahin.
2007-11-02 Frank Warmerdam <warmerdam@pobox.com> 2007-11-02 Frank Warmerdam <warmerdam@pobox.com>
* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/* $Id: tif_vms.c,v 1.9 2007-06-26 10:41:28 joris Exp $ */ /* $Id: tif_vms.c,v 1.10 2007-11-23 10:01:38 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -344,13 +344,13 @@ asm("_$$PsectAttributes_NOSHR$$_TIFFerrorHandler")
/* IEEE floting point handling */ /* IEEE floting point handling */
typedef struct ieeedouble { typedef struct ieeedouble {
u_long mant2; /* fix NDR: full 8-byte swap */ unsigned long mant2; /* fix NDR: full 8-byte swap */
u_long mant : 20, unsigned long mant : 20,
exp : 11, exp : 11,
sign : 1; sign : 1;
} ieeedouble; } ieeedouble;
typedef struct ieeefloat { typedef struct ieeefloat {
u_long mant : 23, unsigned long mant : 23,
exp : 8, exp : 8,
sign : 1; sign : 1;
} ieeefloat; } ieeefloat;
@ -361,7 +361,7 @@ typedef struct ieeefloat {
*/ */
typedef struct { typedef struct {
u_long mant1 : 7, unsigned long mant1 : 7,
exp : 8, exp : 8,
sign : 1, sign : 1,
mant2 : 16, mant2 : 16,
@ -369,7 +369,7 @@ typedef struct {
mant4 : 16; mant4 : 16;
} nativedouble; } nativedouble;
typedef struct { typedef struct {
u_long mant1 : 7, unsigned long mant1 : 7,
exp : 8, exp : 8,
sign : 1, sign : 1,
mant2 : 16; mant2 : 16;