summaryrefslogtreecommitdiff
path: root/idl/Accessibility.idl
diff options
context:
space:
mode:
Diffstat (limited to 'idl/Accessibility.idl')
-rw-r--r--idl/Accessibility.idl8
1 files changed, 6 insertions, 2 deletions
diff --git a/idl/Accessibility.idl b/idl/Accessibility.idl
index f858a876..c2b425c4 100644
--- a/idl/Accessibility.idl
+++ b/idl/Accessibility.idl
@@ -23,12 +23,14 @@
#ifndef _ACCESSIBILITY_IDL_
#define _ACCESSIBILITY_IDL_
-#if !defined(__ACCESSIBILITY_COMPILATION__) && defined(__ORBIT_IDL__)
+#ifndef __ACCESSIBILITY_COMPILATION__
+#ifdef __ORBIT_IDL__
%{
#pragma include_defs Accessibility.h
%}
#pragma inhibit push
#endif
+#endif
/*
* Accessibility interfaces and subinterfaces
@@ -63,8 +65,10 @@
#include <Registry.idl>
#include <Role.idl>
-#if !defined(__ACCESSIBILITY_COMPILATION__) && defined(__ORBIT_IDL__)
+#ifndef __ACCESSIBILITY_COMPILATION__
+#ifdef __ORBIT_IDL__
#pragma inhibit pop
#endif
+#endif
#endif