From 84cfd12a70d36dcbdfdeeb6abecfba10c3734a56 Mon Sep 17 00:00:00 2001
From: Adrian Pop <adrian.pop@liu.se>
Date: Thu, 29 Oct 2020 13:07:42 +0100
Subject: [PATCH] clang doesn't define __x86__ just __i386__ on 32 bit

---
 lib/omniORB-4.2.0-mingw64/include/omniORB4/CORBA_sysdep_trad.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/omniORB-4.2.0-mingw64/include/omniORB4/CORBA_sysdep_trad.h b/lib/omniORB-4.2.0-mingw64/include/omniORB4/CORBA_sysdep_trad.h
index 266ba09c73..1d97713ea0 100644
--- a/lib/omniORB-4.2.0-mingw64/include/omniORB4/CORBA_sysdep_trad.h
+++ b/lib/omniORB-4.2.0-mingw64/include/omniORB4/CORBA_sysdep_trad.h
@@ -354,7 +354,7 @@
 // Processor dependencies
 //
 
-#if defined(__x86__) || defined(__x86_64__)
+#if defined(__x86__) || defined(__x86_64__) || defined(__i386__)
 #  define _OMNIORB_HOST_BYTE_ORDER_ 1
 #if !defined(SIZEOF_LONG_DOUBLE)
 #  define SIZEOF_LONG_DOUBLE 12
-- 
GitLab