commit 97b7fcd489823182ca7d6837cfe2721d4d6f3264
parent d4a0d9c73ec3e9c7bed7914bc196afad1f2c98e4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 15 May 2026 16:42:07 +0200
Restrict support to POSIX systems only
Removal of support for the Win32 platform. Only UNIX is now explicitly
supported. Support for the proprietary CL compiler has also been
removed.
Diffstat:
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/schiff_args.c b/src/schiff_args.c
@@ -36,12 +36,7 @@
#define MIN_NANGLES 2
#define MIN_NANGLES_INV 2
-#ifdef COMPILER_CL
- #include <getopt.h>
- #define strtok_r strtok_s
-#else
- #include <unistd.h>
-#endif
+#include <unistd.h>
/*******************************************************************************
* Helper function
@@ -1521,14 +1516,8 @@ schiff_args_init
if(optind == argc) {
if(!quiet) {
-#ifdef OS_WINDOWS
- fprintf(stderr,
- "Enter the optical properties. "
- "Type ^Z (i.e. CTRL+z) and return to stop:\n");
-#else
fprintf(stderr,
"Enter the optical properties. Type ^D (i.e. CTRL+d) to stop:\n");
-#endif
}
res = schiff_optical_properties_load_stream(&args->properties, stdin, "stdin");
} else {