From 01aa724e1625c5e2f75132915542df96a296b05b Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Wed, 30 Oct 2024 16:46:52 +0100 Subject: [PATCH] Added definitions neeed by dlite-pyembed.c to config-paths.h --- src/config-paths.h.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/config-paths.h.in b/src/config-paths.h.in index 211a407ae..28f9ee936 100644 --- a/src/config-paths.h.in +++ b/src/config-paths.h.in @@ -23,5 +23,12 @@ #define dlite_TEMPLATES "@dlite_TEMPLATES@" #define dlite_STORAGES "@dlite_STORAGES@" +/* dlite-pyembed.c does not imports config.h to avoid conflicts with Python .h + Include configurations needed by dlite-pyembed.c here */ +#cmakedefine HAVE_SETENV +#cmakedefine HAVE__PUTENV_S +#cmakedefine HAVE_UNSETENV + + #endif /* _DLITE_CONFIG_PATHS_H */