diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2022-02-03 01:24:14 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2022-07-18 13:20:20 +0200 |
commit | a5dc76a051ff908a5f506ed12e8d05311752e5fb (patch) | |
tree | d7787af3f47308c567879e5e8a07daeb91dd72db /storage/connect/json.cpp | |
parent | 016dd21371961700f1324f204acbc7252a8c1e76 (diff) | |
download | mariadb-git-a5dc76a051ff908a5f506ed12e8d05311752e5fb.tar.gz |
MDEV-27142 - fix Connect engine reliance on textmode stdio on Windows...
by removing a couple ifdef(_WIN32)
Diffstat (limited to 'storage/connect/json.cpp')
-rw-r--r-- | storage/connect/json.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/connect/json.cpp b/storage/connect/json.cpp index 17c6ba9791a..d2cca759b13 100644 --- a/storage/connect/json.cpp +++ b/storage/connect/json.cpp @@ -23,10 +23,8 @@ #define ARGS MY_MIN(24,(int)len-i),s+MY_MAX(i-3,0) -#if defined(_WIN32) -#define EL "\r\n" -#else -#define EL "\n" +#define EL "\n" +#if !defined(_WIN32) #undef SE_CATCH // Does not work for Linux #endif |