mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Break long macros
This commit is contained in:
parent
94c399e2cf
commit
7ce5bbcdf7
|
@ -28,7 +28,8 @@
|
||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__linux__) || defined(MINGW) || defined(__MINGW32__) || defined(__MINGW64__) || defined(__CYGWIN__)
|
#if defined(__linux__) || defined(MINGW) || defined(__MINGW32__) \
|
||||||
|
|| defined(__MINGW64__) || defined(__CYGWIN__)
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,7 +64,8 @@
|
||||||
#ifndef NCURSES_WIDECHAR
|
#ifndef NCURSES_WIDECHAR
|
||||||
#define NCURSES_WIDECHAR 1
|
#define NCURSES_WIDECHAR 1
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__sun)
|
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
|
||||||
|
|| defined(__APPLE__) || defined(__sun)
|
||||||
#ifndef _XOPEN_SOURCE_EXTENDED
|
#ifndef _XOPEN_SOURCE_EXTENDED
|
||||||
#define _XOPEN_SOURCE_EXTENDED
|
#define _XOPEN_SOURCE_EXTENDED
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue