mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[debug] compilation fixes for -Dwithdebug=true
This commit is contained in:
parent
f12134c2cf
commit
7185d705de
@ -4,6 +4,14 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
#include "ecmascript/libdom/mujs/mapa.h"
|
||||
#include "ecmascript/mujs.h"
|
||||
#include "ecmascript/mujs/xhr.h"
|
||||
#include "util/memory.h"
|
||||
#include "util/string.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
@ -11,12 +19,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "ecmascript/libdom/mujs/mapa.h"
|
||||
#include "ecmascript/mujs.h"
|
||||
#include "ecmascript/mujs/xhr.h"
|
||||
#include "util/memory.h"
|
||||
#include "util/string.h"
|
||||
|
||||
void
|
||||
attr_save_in_map(void *m, void *node, void *value)
|
||||
{
|
||||
|
@ -4,6 +4,14 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
#include "ecmascript/libdom/quickjs/mapa.h"
|
||||
#include "ecmascript/quickjs.h"
|
||||
#include "ecmascript/quickjs/xhr.h"
|
||||
#include "util/memory.h"
|
||||
#include "util/string.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
@ -11,12 +19,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "ecmascript/libdom/quickjs/mapa.h"
|
||||
#include "ecmascript/quickjs.h"
|
||||
#include "ecmascript/quickjs/xhr.h"
|
||||
#include "util/memory.h"
|
||||
#include "util/string.h"
|
||||
|
||||
void
|
||||
attr_save_in_map(void *m, void *node, JSValueConst value)
|
||||
{
|
||||
|
@ -182,7 +182,7 @@ add_empty_window(struct terminal *term, void (*fn)(void *), void *data)
|
||||
add_window(term, empty_window_handler, ewd);
|
||||
}
|
||||
|
||||
#if CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG
|
||||
/** Check that terminal.windows are in the documented order. */
|
||||
void
|
||||
assert_window_stacking(struct terminal *term)
|
||||
|
@ -98,7 +98,7 @@ void get_parent_ptr(struct window *, int *, int *);
|
||||
|
||||
void add_empty_window(struct terminal *, void (*)(void *), void *);
|
||||
|
||||
#if CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG
|
||||
void assert_window_stacking(struct terminal *);
|
||||
#else
|
||||
#define assert_window_stacking(t) ((void) (t))
|
||||
|
Loading…
Reference in New Issue
Block a user