diff options
author | SVN Migration <svn@php.net> | 2008-12-03 20:30:45 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2008-12-03 20:30:45 +0000 |
commit | 2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch) | |
tree | 33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/phar/pharzip.h | |
parent | 3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff) | |
download | php-git-php-5.3.0alpha2.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/phar/pharzip.h')
-rw-r--r-- | ext/phar/pharzip.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/phar/pharzip.h b/ext/phar/pharzip.h index c753cbc9a4..e74b5ba47f 100644 --- a/ext/phar/pharzip.h +++ b/ext/phar/pharzip.h @@ -22,15 +22,9 @@ #ifdef PHP_WIN32 #pragma pack(1) # define PHAR_ZIP_PACK -#elif defined(__sgi) -# define PHAR_ZIP_PACK #else # define PHAR_ZIP_PACK __attribute__((__packed__)) #endif - -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_file_header { char signature[4]; /* local file header signature 4 bytes (0x04034b50) */ char zipversion[2]; /* version needed to extract 2 bytes */ @@ -47,9 +41,6 @@ typedef struct _phar_zip_file_header { /* extra field (variable size) */ } PHAR_ZIP_PACK phar_zip_file_header; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_file_datadesc { php_uint32 crc32; /* crc-32 4 bytes */ php_uint32 compsize; /* compressed size 4 bytes */ @@ -64,9 +55,6 @@ typedef struct _phar_zip_file_datadesc_zip64 { php_uint32 uncompsize2; } PHAR_ZIP_PACK phar_zip_data_desc_zip64; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_archive_extra_data_record { char signature[4]; /* archive extra data signature 4 bytes (0x08064b50) */ php_uint32 len; /* extra field length 4 bytes */ @@ -147,17 +135,11 @@ typedef struct _phar_zip_archive_extra_data_record { the CRC; i.e., it may be four bytes too small.] */ -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_extra_field_header { char tag[2]; php_uint16 size; } PHAR_ZIP_PACK phar_zip_extra_field_header; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_unix3 { char tag[2]; /* 0x756e Short tag for this extra block type ("nu") */ php_uint16 size; /* TSize Short total data size for this block */ @@ -169,9 +151,6 @@ typedef struct _phar_zip_unix3 { /* (var.) variable symbolic link filename */ } PHAR_ZIP_PACK phar_zip_unix3; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_central_dir_file { char signature[4]; /* central file header signature 4 bytes (0x02014b50) */ char madeby[2]; /* version made by 2 bytes */ @@ -196,17 +175,11 @@ typedef struct _phar_zip_central_dir_file { /* file comment (variable size) */ } PHAR_ZIP_PACK phar_zip_central_dir_file; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_dir_signature { char signature[4]; /* header signature 4 bytes (0x05054b50) */ php_uint16 size; /* size of data 2 bytes */ } PHAR_ZIP_PACK phar_zip_dir_signature; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip64_dir_end { char signature[4]; /* zip64 end of central dir signature 4 bytes (0x06064b50) */ @@ -233,9 +206,6 @@ typedef struct _phar_zip64_dir_end { /* zip64 extensible data sector (variable size) */ } PHAR_ZIP_PACK phar_zip64_dir_end; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip64_dir_locator { char signature[4]; /* zip64 end of central dir locator signature 4 bytes (0x07064b50) */ @@ -248,9 +218,6 @@ typedef struct _phar_zip64_dir_locator { php_uint32 totaldisks; /* total number of disks 4 bytes */ } PHAR_ZIP_PACK phar_zip64_dir_locator; -#if defined(__sgi) -# pragma pack 0 -#endif typedef struct _phar_zip_dir_end { char signature[4]; /* end of central dir signature 4 bytes (0x06054b50) */ php_uint16 disknumber; /* number of this disk 2 bytes */ |