From a2cc5a9b579d5311453e72d0ad571f8b2c4a0b70 Mon Sep 17 00:00:00 2001 From: oaq Date: Sun, 8 Feb 2026 16:48:36 +1100 Subject: [PATCH] Change _POSIX_C_SOURCE from 199506 to 200112L --- app/consapp/convbin/convbin.c | 2 +- app/consapp/rtkrcv/rtkrcv.c | 2 +- app/consapp/str2str/str2str.c | 2 +- src/download.c | 2 +- src/options.c | 2 +- src/rcv/nvs.c | 2 +- src/rcv/skytraq.c | 2 +- src/rcv/ublox.c | 2 +- src/rtkcmn.c | 2 +- src/stream.c | 2 +- src/streamsvr.c | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/consapp/convbin/convbin.c b/app/consapp/convbin/convbin.c index 4ee502563..44aa24234 100644 --- a/app/consapp/convbin/convbin.c +++ b/app/consapp/convbin/convbin.c @@ -44,7 +44,7 @@ * delete option -noscan * suppress warnings *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include #include #include diff --git a/app/consapp/rtkrcv/rtkrcv.c b/app/consapp/rtkrcv/rtkrcv.c index 2cb1f2b3c..92fdc6199 100644 --- a/app/consapp/rtkrcv/rtkrcv.c +++ b/app/consapp/rtkrcv/rtkrcv.c @@ -36,7 +36,7 @@ * add option -w * 2017/09/01 1.21 add command ssr *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include #include #include diff --git a/app/consapp/str2str/str2str.c b/app/consapp/str2str/str2str.c index f5554e919..63be61ebc 100644 --- a/app/consapp/str2str/str2str.c +++ b/app/consapp/str2str/str2str.c @@ -29,7 +29,7 @@ * 2017/05/26 1.17 add input format tersus * 2020/11/30 1.18 support api change strsvrstart(),strsvrstat() *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include #include #include diff --git a/src/download.c b/src/download.c index 15c6bd336..5371e2597 100644 --- a/src/download.c +++ b/src/download.c @@ -14,7 +14,7 @@ * limit max number of download paths * use integer types in stdint.h *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include #include #include diff --git a/src/options.c b/src/options.c index 5bfecba87..f5f51c4f9 100644 --- a/src/options.c +++ b/src/options.c @@ -28,7 +28,7 @@ * pos1-tropopt, pos1-sateph, pos1-navsys, * pos2-gloarmode, *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include "rtklib.h" /* system options buffer -----------------------------------------------------*/ diff --git a/src/rcv/nvs.c b/src/rcv/nvs.c index 5fabde24b..120e28e6e 100644 --- a/src/rcv/nvs.c +++ b/src/rcv/nvs.c @@ -21,7 +21,7 @@ * 2020/07/10 1.8 suppress warnings * 2020/11/30 1.9 use integer type in stdint.h *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include "rtklib.h" #define NVSSYNC 0x10 /* nvs message sync code 1 */ diff --git a/src/rcv/skytraq.c b/src/rcv/skytraq.c index ce84cf410..0f1c0eba1 100644 --- a/src/rcv/skytraq.c +++ b/src/rcv/skytraq.c @@ -44,7 +44,7 @@ * use integer type in stdint.h * suppress warnings *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include "rtklib.h" #define STQSYNC1 0xA0 /* skytraq binary sync code 1 */ diff --git a/src/rcv/ublox.c b/src/rcv/ublox.c index ebf9acd7a..05bbef1c2 100644 --- a/src/rcv/ublox.c +++ b/src/rcv/ublox.c @@ -76,7 +76,7 @@ * CODE_L1I -> CODE_L2I for BDS B1I (RINEX 3.04) * use integer types in stdint.h *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include "rtklib.h" #define UBXSYNC1 0xB5 /* ubx message sync code 1 */ diff --git a/src/rtkcmn.c b/src/rtkcmn.c index f2f890b30..7e945c7ae 100644 --- a/src/rtkcmn.c +++ b/src/rtkcmn.c @@ -143,7 +143,7 @@ * use integer types in stdint.h * suppress warnings *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include #include #include diff --git a/src/stream.c b/src/stream.c index f0200da51..54344fc5c 100644 --- a/src/stream.c +++ b/src/stream.c @@ -75,7 +75,7 @@ * suppress warning for buffer overflow by sprintf() * use integer types in stdint.h *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include #include "rtklib.h" #ifndef WIN32 diff --git a/src/streamsvr.c b/src/streamsvr.c index d7888189f..86dcc59b2 100644 --- a/src/streamsvr.c +++ b/src/streamsvr.c @@ -32,7 +32,7 @@ * delete API strsvrsetsrctbl() * use integer types in stdint.h *-----------------------------------------------------------------------------*/ -#define _POSIX_C_SOURCE 199506 +#define _POSIX_C_SOURCE 200112L #include "rtklib.h" /* test observation data message ---------------------------------------------*/