HPL1: Remove Forbidden Symbol Exceptions For Newton Library

This will compile fine without these headers which required
the forbidden symbol exception on Linux x86_64.

Other platforms and ports will need checking with this change.
This commit is contained in:
D G Turner 2023-09-07 00:40:16 +01:00
parent 6b9b4d7734
commit c08cf4d5a5
2 changed files with 6 additions and 2 deletions

View File

@ -22,7 +22,6 @@
#ifndef __NEWTON_H_INCLUDED__
#define __NEWTON_H_INCLUDED__
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#include "common/scummsys.h"
#define NEWTON_MAJOR_VERSION 2

View File

@ -22,9 +22,11 @@
#ifndef AFX_DGTYPES__42YH_HY78GT_YHJ63Y__INCLUDED_
#define AFX_DGTYPES__42YH_HY78GT_YHJ63Y__INCLUDED_
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#include "common/scummsys.h"
// NB: Disable this section of header as not necessary and would require forbidden symbol exceptions to compile
// FIXME: Remove completely if all ports are happy with this...
#if 0
#include <ctype.h>
#include <math.h>
#include <new>
@ -109,6 +111,9 @@
#endif
#endif
// NB: End of disabled header section
//************************************************************
#ifndef _WIN32
#ifdef _DEBUG