diff options
| author | Alastair Reid | 2018-06-27 16:31:16 +0100 |
|---|---|---|
| committer | Alastair Reid | 2018-06-27 16:31:52 +0100 |
| commit | e4a029f79ca5d20cb638e267dc6258814658d801 (patch) | |
| tree | fda30ce7a849d2ef31ac66724d3483a595ff5f0d /lib | |
| parent | 90219a78d6a7c8dc14ea40fac681a9643bdc5faf (diff) | |
RTS: __SetConfig support is off by default
Use -DHAVE_SETCONFIG to enable __SetConfig support
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rts.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -391,13 +391,19 @@ int process_arguments(int argc, char *argv[]) // do nothing } else { fprintf(stderr, "Could not parse argument %s\n", optarg); +#ifdef HAVE_SETCONFIG z__ListConfig(UNIT); +#endif return -1; }; +#ifdef HAVE_SETCONFIG mpz_t s_value; mpz_init_set_ui(s_value, value); z__SetConfig(arg, s_value); mpz_clear(s_value); +#else + fprintf(stderr, "Ignoring flag -C %s", optarg); +#endif } break; |
