Logo
Explore Help
Sign In
davide/palladum-lightning
1
0
Fork 0
You've already forked palladum-lightning
Code Issues Pull Requests Actions 5 Packages Projects Releases Wiki Activity
Files
main
palladum-lightning/cli/test/config_test.h

9 lines
170 B
C
Raw Permalink Normal View History

cli: change the redefine logic to read from the stdin Procedure redefinition is a very cool feature but when other libraries redefine the same function can be very tricky to avoid compilation error. This PR proposed a change of logic and use a customizzation function definition to read from the stdin, so we can avoid future error at compile time. However, we could be check also the os or compiler that cause the error and redefine the missing function. Changelog-None: Fixed compilation error due redefinition procedure. Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-01-12 21:36:56 +01:00
#ifndef LIGHTNING_CLI_TEST_CONFIG_TEST_H
#define LIGHTNING_CLI_TEST_CONFIG_TEST_H
#include "config.h"
#define CLN_TEST 1
#endif /* LIGHTNING_CLI_TEST_CONFIG_TEST_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 1255ms Template: 29ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API