nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d38f4b13d422963b06b4fb92df771aab154539e0
parent aefe96218266fec76dc35337a6ca81e37ff1d506
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 18 Nov 2020 04:07:03 +0530

Fix #784: support msys2 compilation

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -28,7 +28,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef __linux__ +#if defined(__linux__) || defined(MINGW) || defined(__MINGW32__) || defined(__MINGW64__) || defined(__CYGWIN__) #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif