mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[python] another way to avoid warnings
This commit is contained in:
parent
386a0f956f
commit
c130f96452
@ -4,14 +4,12 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#include <osdefs.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "config/home.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "bfu/inpfield.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "cache/cache.h"
|
||||
|
@ -4,15 +4,12 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#include <iconv.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "cache/cache.h"
|
||||
|
@ -4,14 +4,11 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "config/kbdbind.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "cache/cache.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "bfu/menu.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "intl/libintl.h"
|
||||
|
@ -4,11 +4,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#include <Python.h>
|
||||
#include "scripting/python/pythoninc.h"
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
#include "elinks.h"
|
||||
|
||||
#include "intl/libintl.h"
|
||||
|
11
src/scripting/python/pythoninc.h
Normal file
11
src/scripting/python/pythoninc.h
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef EL__SCRIPTING_PYTHON_PYTHONINC_H
|
||||
#define EL__SCRIPTING_PYTHON_PYTHONINC_H
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#undef HAVE_TERM_H
|
||||
#undef _XOPEN_SOURCE
|
||||
#include <Python.h>
|
||||
|
||||
#undef HAVE_TERM_H
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user