From 1839dd0d865eb366a1ef8eca669c5871cdd7483b Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Tue, 5 May 2026 19:59:43 +0200
Subject: Fix build issues with GCC 16.x
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Remove now probably no longer needed __STRICT_ANSI__ to avoid redefinitions
of structures originating from includes internal to "iostream" include.

This resolves issue #110.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 mpeglib/lib/input/cdromAccess_Linux.cpp | 7 -------
 mpeglib/lib/input/httpInputStream.h     | 4 ----
 2 files changed, 11 deletions(-)

diff --git a/mpeglib/lib/input/cdromAccess_Linux.cpp b/mpeglib/lib/input/cdromAccess_Linux.cpp
index a3bde622..125d78c3 100644
--- a/mpeglib/lib/input/cdromAccess_Linux.cpp
+++ b/mpeglib/lib/input/cdromAccess_Linux.cpp
@@ -10,15 +10,8 @@
 
  */
 
-#ifdef __STRICT_ANSI__
-#undef __STRICT_ANSI__
-#define _ANSI_WAS_HERE_
-#endif
 #include <linux/types.h>
 #include <linux/cdrom.h>
-#ifdef _ANSI_WAS_HERE_
-#define __STRICT_ANSI__ 
-#endif
 #include <sys/ioctl.h>
 
 #include "cdromToc.h"
diff --git a/mpeglib/lib/input/httpInputStream.h b/mpeglib/lib/input/httpInputStream.h
index 78ec10f0..11e8862d 100644
--- a/mpeglib/lib/input/httpInputStream.h
+++ b/mpeglib/lib/input/httpInputStream.h
@@ -17,10 +17,6 @@
 
 #include "inputStream.h"
 
-#ifndef __STRICT_ANSI__
-#define __STRICT_ANSI__
-#endif
-
 #include <stdlib.h>
 #include <string.h>
 
-- 
cgit v1.2.3

