diff --git a/swig/graph.i b/swig/graph.i
index 0597d76..e5cc85b 100644
--- a/swig/graph.i
+++ b/swig/graph.i
@@ -1,7 +1,5 @@
%{
//
-#ifndef __PY_IDA_GRAPH__
-#define __PY_IDA_GRAPH__
#define GR_HAVE_USER_HINT 0x00000001
#define GR_HAVE_CLICKED 0x00000002
@@ -775,7 +773,6 @@ void pyg_select_node(PyObject *self, int nid)
#undef S_M_THIS
#undef S_M_TITLE
-#endif
//
%}
diff --git a/swig/idd.i b/swig/idd.i
index cd1c00c..fd04d69 100644
--- a/swig/idd.i
+++ b/swig/idd.i
@@ -10,8 +10,6 @@
%{
//
-#ifndef __PYDBG__
-#define __PYDBG__
#ifndef PYUL_DEFINED
#define PYUL_DEFINED
@@ -153,7 +151,6 @@ PyObject *dbg_write_memory(PyObject *py_ea, PyObject *py_buf)
Py_RETURN_FALSE;
Py_RETURN_TRUE;
}
-#endif
//
%}
diff --git a/swig/kernwin.i b/swig/kernwin.i
index 8e8ba83..3effb04 100644
--- a/swig/kernwin.i
+++ b/swig/kernwin.i
@@ -155,8 +155,6 @@ uint32 choose_choose(PyObject *self,
%{
//
-#ifndef __PY_CHOOSE2__
-#define __PY_CHOOSE2__
#include "Python.h"
//-------------------------------------------------------------------------
@@ -780,7 +778,6 @@ PyObject *choose2_find(const char *title)
// End of Chooser2 wrapper class
//-------------------------------------------------------------------------
-#endif
//
uint32 idaapi choose_sizer(void *self)
{