2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

merge rt33813: MSVC doesn't propage const to dynamic array sizes

This commit is contained in:
Francis Dupont
2013-06-12 19:14:30 +02:00
parent c213258356
commit b4a865ee13
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ typedef struct file_header file_header_t;
static char FILE_VERSION[32] = "\0";
/* Header length, always the same size regardless of structure size */
const unsigned int HEADER_LENGTH = 1024;
#define HEADER_LENGTH 1024
struct file_header {
char version1[32];

View File

@@ -103,7 +103,7 @@ typedef struct rbtdb_file_header rbtdb_file_header_t;
static char FILE_VERSION[32] = "\0";
/* Header length, always the same size regardless of structure size */
static const unsigned int RBTDB_HEADER_LENGTH = 1024;
#define RBTDB_HEADER_LENGTH 1024
struct rbtdb_file_header {
char version1[32];