Revert "attempt to avoid questpgr convert woes on cross-compile by making the int sizes fixed"

This reverts commit b8a6d82c57.
This commit is contained in:
nhmall
2019-11-24 00:40:00 -05:00
parent b8a6d82c57
commit ac315adaf1
3 changed files with 26 additions and 64 deletions

View File

@@ -5,21 +5,14 @@
#ifndef QTEXT_H
#define QTEXT_H
#ifndef INTEGER_H
#include "integer.h"
#endif
#define N_HDR 16 /* Maximum number of categories */
/* (i.e., num roles + 1) */
#define LEN_HDR 3 /* Maximum length of a category name */
#define QTOFFSIZ int64_t
#define QT_PREPROC 64
struct qtmsg {
int32_t msgnum;
int msgnum;
char delivery;
QTOFFSIZ offset, size, summary_size;
long offset, size, summary_size;
};
#if defined(MAKEDEFS_C) || defined(MDLIB_C) /***** MAKEDEFS *****/
@@ -27,14 +20,14 @@ struct qtmsg {
#define N_MSG 100 /* arbitrary */
struct msghdr {
int32_t n_msg;
int n_msg;
struct qtmsg qt_msg[N_MSG];
};
struct qthdr {
int32_t n_hdr;
int n_hdr;
char id[N_HDR][LEN_HDR];
QTOFFSIZ offset[N_HDR];
long offset[N_HDR];
};
/* Error message macros */