mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +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.
|
||||
*/
|
||||
|
||||
#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
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
@ -63,7 +64,8 @@
|
|||
#ifndef NCURSES_WIDECHAR
|
||||
#define NCURSES_WIDECHAR 1
|
||||
#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
|
||||
#define _XOPEN_SOURCE_EXTENDED
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue