diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-11-18 04:07:03 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-11-18 04:07:40 +0530 |
commit | d38f4b13d422963b06b4fb92df771aab154539e0 (patch) | |
tree | b6f678d95a0f93c053e9666ca64ac91a5a773f58 | |
parent | aefe96218266fec76dc35337a6ca81e37ff1d506 (diff) | |
download | nnn-d38f4b13d422963b06b4fb92df771aab154539e0.tar.gz |
Fix #784: support msys2 compilation
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |