Fix C11 compilation compatibility in dtinfo

- Add TRUE/FALSE macro definitions to FolioObject.hh and List.hh
  to ensure they are defined before use with C11 standard
- Fix config.h include paths in DtSR_BookcaseEntry.C and
  DtSR_SearchResultsEntry.C to use relative path ../../config.h
  so ON_DEBUG and ISSPACE_C macros are available
This commit is contained in:
Trung Lê 2026-01-29 22:17:42 +11:00
parent f0154141b1
commit 8a58275ca2
4 changed files with 19 additions and 2 deletions

View File

@ -44,6 +44,13 @@
*
*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
// Base Object for ALL Folio Objects
class Dependent;

View File

@ -40,6 +40,13 @@
* 1315 Dell Avenue, Campbell, CA 95008
*
*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif

View File

@ -24,13 +24,14 @@
/* Copyright (c) 1995,1996 FUJITSU LIMITED */
/* All Rights Reserved */
#include "../../config.h"
#include <assert.h>
#include <string.h>
#include <iostream>
using namespace std;
#include "config.h"
#include "../../config.h"
#include "Basic/Error.hh"
#include "Basic/FolioObject.hh"
#include "Basic/List.hh"

View File

@ -24,6 +24,8 @@
/* Copyright (c) 1995,1996 FUJITSU LIMITED */
/* All Rights Reserved */
#include "../../config.h"
#include <assert.h>
#include <limits.h>
#include <string.h>
@ -35,7 +37,7 @@
#include <StyleSheet/StyleSheet.h>
#include "Tml_TextRenderer.hh"
#include "config.h"
#include "../../config.h"
#include "Basic/Error.hh"
#include "Basic/FolioObject.hh"
#include "Basic/List.hh"